mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-11-09 16:16:41 +08:00
feat(components): add missing button/a props to components that render them (#17883)
Adds the following properties to the components listed under them: `rel`, `download`, `target`: - anchor - button - card - fab-button - item-option - item - tab-button `disabled`: - back-button - menu-button `type`: - back-button - item-option - menu-button - segment-button fixes #16848 closes #16889 Co-authored-by: bitflower <matthias.max@bitflower.net>
This commit is contained in:
@ -1,6 +1,8 @@
|
||||
# ion-router
|
||||
|
||||
Router is a component for handling routing inside vanilla JavaScript projects. For Angular projects, use `ion-router-outlet` and the Angular router.
|
||||
The router is a component for handling routing inside vanilla and Stencil JavaScript projects.
|
||||
|
||||
> Note: this component should only be used with vanilla and Stencil JavaScript projects. For Angular projects, use [`ion-router-outlet`](../router-outlet) and the Angular router.
|
||||
|
||||
Apps should have a single `ion-router` component in the codebase.
|
||||
This component controls all interactions with the browser history and it aggregates updates through an event system.
|
||||
@ -11,9 +13,6 @@ That means the `ion-router` never touches the DOM, it does NOT show the componen
|
||||
|
||||
In order to configure this relationship between components (to load/select) and URLs, `ion-router` uses a declarative syntax using JSX/HTML to define a tree of routes.
|
||||
|
||||
If you're using Angular, please see [ion-router-outlet](../router-outlet) instead.
|
||||
|
||||
|
||||
|
||||
<!-- Auto Generated Below -->
|
||||
|
||||
|
||||
Reference in New Issue
Block a user