Files
Brandy Carney a7f1f4daa7 refactor(components): update to use shadow DOM and work with css variables
- updates components to use shadow DOM or scoped if they require css variables
- moves global styles to an external stylesheet that needs to be imported
- adds support for additional colors and removes the Sass loops to generate colors for each component
- several property renames, bug fixes, and test updates

Co-authored-by: Manu Mtz.-Almeida <manu.mtza@gmail.com>
Co-authored-by: Adam Bradley <adambradley25@gmail.com>
Co-authored-by: Cam Wiegert <cam@camwiegert.com>
2018-07-09 12:57:21 -04:00
..
2018-05-30 12:41:30 -04:00
2018-05-30 12:41:30 -04:00

ion-back-button

The back button navigates back in the app's history upon click. It is smart enough to know what to render based on the mode and when to show based on the navigation stack.

To change what is displayed in the back button, use the text and icon properties.

Properties

color

string

The color the button should be.

defaultHref

string

The url to navigate back to by default when there is no history.

icon

string

The icon name to use for the back button.

mode

string

The mode determines which platform styles to use. Possible values are: "ios" or "md".

text

string

The text to display in the back button.

Attributes

color

string

The color the button should be.

default-href

string

The url to navigate back to by default when there is no history.

icon

string

The icon name to use for the back button.

mode

string

The mode determines which platform styles to use. Possible values are: "ios" or "md".

text

string

The text to display in the back button.


Built with StencilJS