refactor(all): remove ionChange in non-inputs (#17101)

fixes #17071
This commit is contained in:
Manu MA
2019-01-14 21:43:24 +01:00
committed by GitHub
parent 3c801dbe11
commit d3b866b290
12 changed files with 29 additions and 70 deletions

View File

@ -2768,10 +2768,6 @@ export namespace Components {
*/
'onIonNavWillChange'?: (event: CustomEvent<void>) => void;
/**
* Event fired when Nav will load a component
*/
'onIonNavWillLoad'?: (event: CustomEvent<void>) => void;
/**
* Root NavComponent to load
*/
'root'?: NavComponent;
@ -4322,13 +4318,9 @@ export namespace Components {
*/
'disabled'?: boolean;
/**
* Emitted when the split pane is visible.
*/
'onIonChange'?: (event: CustomEvent<{visible: boolean}>) => void;
/**
* Expression to be called when the split-pane visibility has changed
*/
'onIonSplitPaneVisible'?: (event: CustomEvent) => void;
'onIonSplitPaneVisible'?: (event: CustomEvent<{visible: boolean}>) => void;
/**
* When the split-pane should be shown. Can be a CSS media query expression, or a shortcut expression. Can also be a boolean expression.
*/
@ -4470,22 +4462,14 @@ export namespace Components {
'useRouter': boolean;
}
interface IonTabsAttributes extends StencilHTMLAttributes {
/**
* Emitted when the tab changes.
*/
'onIonChange'?: (event: CustomEvent<{tab: HTMLIonTabElement}>) => void;
/**
* Emitted when the navigation has finished transitioning to a new component.
*/
'onIonNavDidChange'?: (event: CustomEvent<void>) => void;
'onIonTabsDidChange'?: (event: CustomEvent<{tab: string}>) => void;
/**
* Emitted when the navigation is about to transition to a new component.
*/
'onIonNavWillChange'?: (event: CustomEvent<void>) => void;
/**
* Emitted when the navigation will load a component.
*/
'onIonNavWillLoad'?: (event: CustomEvent<void>) => void;
'onIonTabsWillChange'?: (event: CustomEvent<{tab: string}>) => void;
}
interface IonText {