Files
ionic-framework/core/src/components/item

ion-item

Properties

color

string

The color to use from your Sass $colors map. Default options are: "primary", "secondary", "tertiary", "success", "warning", "danger", "light", "medium", and "dark". For more information, see Theming your App.

detail

boolean

If true, a detail arrow will appear on the item. Defaults to false unless the mode is ios and an href, onclick or tappable property is present.

disabled

boolean

If true, the user cannot interact with the item. Defaults to false.

href

string

Contains a URL or a URL fragment that the hyperlink points to. If this property is set, an anchor tag will be rendered.

mode

The mode determines which platform styles to use. Possible values are: "ios" or "md". For more information, see Platform Styles.

onclick

Callback function. If this property is set, a button tag will be rendered.

tappable

boolean

Whether or not this item should be tappable. If true, a button tag will be rendered. Defaults to false.

Attributes

color

string

The color to use from your Sass $colors map. Default options are: "primary", "secondary", "tertiary", "success", "warning", "danger", "light", "medium", and "dark". For more information, see Theming your App.

detail

boolean

If true, a detail arrow will appear on the item. Defaults to false unless the mode is ios and an href, onclick or tappable property is present.

disabled

boolean

If true, the user cannot interact with the item. Defaults to false.

href

string

Contains a URL or a URL fragment that the hyperlink points to. If this property is set, an anchor tag will be rendered.

mode

The mode determines which platform styles to use. Possible values are: "ios" or "md". For more information, see Platform Styles.

onclick

Callback function. If this property is set, a button tag will be rendered.

tappable

boolean

Whether or not this item should be tappable. If true, a button tag will be rendered. Defaults to false.


Built with StencilJS