Skip to content

Commit

Permalink
FI helper
Browse files Browse the repository at this point in the history
  • Loading branch information
loveorigami committed Aug 31, 2016
1 parent 5de7c02 commit 55299fa
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -68,11 +68,11 @@ echo Html::submitButton(
); // <button type="submit"><i class="icofont icofont-check"></i> Save</button>

// icon with additional methods
echo FA::icon('arrow-right')->inverse(); // <i class="icofont icofont-arrow-right icofont-inverse"></i>
echo FA::icon('spinner')->spin(); // <i class="icofont icofont-spinner icofont-spin"></i>
echo FA::icon('home')->fixedWidth(); // <i class="icofont icofont-home icofont-fw"></i>
echo FA::icon('home')->li(); // <i class="icofont icofont-home icofont-li"></i>
echo FA::icon('home')->border(); // <i class="icofont icofont-home icofont-border"></i>
echo FI::icon('arrow-right')->inverse(); // <i class="icofont icofont-arrow-right icofont-inverse"></i>
echo FI::icon('spinner')->spin(); // <i class="icofont icofont-spinner icofont-spin"></i>
echo FI::icon('home')->fixedWidth(); // <i class="icofont icofont-home icofont-fw"></i>
echo FI::icon('home')->li(); // <i class="icofont icofont-home icofont-li"></i>
echo FI::icon('home')->border(); // <i class="icofont icofont-home icofont-border"></i>
echo FI::icon('arrow-right')->pullLeft(); // <i class="icofont icofont-arrow-right icofont-pull-left"></i>
echo FI::icon('arrow-right')->pullRight(); // <i class="icofont icofont-arrow-right icofont-pull-right"></i>

Expand Down Expand Up @@ -121,8 +121,8 @@ echo FI::stack(['data-role' => 'stacked-icon'])
echo FI::icon(FI::_MAGIC);
echo FI::icon(FI::_ARROW_RIGHT);
echo FI::stack()
->on(FA::_SQUARE)
->icon(FA::_SHIELD);
->on(FI::_SQUARE)
->icon(FI::_SHIELD);
```

## See also
Expand Down

0 comments on commit 55299fa

Please sign in to comment.