mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2026-03-13 10:22:08 +08:00
@@ -7,7 +7,16 @@ import {Config} from '../../config/config';
|
||||
* @name Icon
|
||||
* @description
|
||||
* Icons can be used on their own, or inside of a number of Ionic components. For a full list of available icons,
|
||||
* check out the [Ionicons resource docs](../../../../../resources/ionicons).
|
||||
* check out the [Ionicons resource docs](../../../../resources/ionicons).
|
||||
*
|
||||
* @usage
|
||||
* ```html
|
||||
* <!-- use the appropriate home icon for ios and md -->
|
||||
* <icon home></icon>
|
||||
*
|
||||
* <!-- explicity set the icon for each platform -->
|
||||
* <icon ios="ion-ios-home" md="ion-md-home"></icon>
|
||||
* ```
|
||||
*
|
||||
* @property {boolean} [isActive] - Whether or not the icon is active. Icons that are not active will use an outlined version of the icon.
|
||||
* If there is not an outlined version for the particular icon, it will use the default (full) version.
|
||||
|
||||
Reference in New Issue
Block a user