ion-button
Defines a Button component.
Buttons are an essential way to interact with and navigate through a mobile application, and should clearly communicate what action will occur after the user taps them.
Button can consist of Text and/or Icon, and can be enhanced with a wide variety of properties/attributes.
You can add Event component with chained Actions to a Button to handle button click.
For more information: Buttons.
Name | Description |
---|---|
Button form type | Specifies form’s button type. |
Color | Specifies ionic color. |
Disabled | If true the component will be disabled, preventing the the user from changing the value. |
Expand | Specifies ionic expand. |
Fill | Specifies ionic fill mode. |
Link URL | Specifies the URL or the URL fragment to navigate to or be downloaded. |
Link filename | This property instructs browsers to download a URL instead of navigating to it, so the user will be prompted to save it as a local file. If the property has a value, it is used as the pre-filled file name in the Save prompt (the user can still change the file name if they want). |
Link relationship | Specifies the relationship of the target object to the URL. The value is a space-separated list of HTML link types. |
Link target | Specifies where to display the URL. |
Mode | Specifies ionic mode. |
Router URL | Specifies the router link URL. |
Router data | Specifies router optional data. |
Router direction | Specifies the transition direction when navigating to another page using a URL. |
Shape | Specifies ionic shape. |
Size | Specifies ionic size. |
Slot | Specifies ionic slot mode. |
Strong | Specifies whether to activate a heavier font weight. |
Comment | Describes the object comment to include in the documentation report. This property generally contains an explanation about the object. |
Identifier | Defines the component identifier. |
Is active | Defines whether the component is active. |