fix(fab-button): add and document css properties

references #14853 references #14850 closes #14808
This commit is contained in:
Brandy Carney
2018-10-11 13:43:13 -05:00
parent 73cff0c61a
commit 098bd826cd
11 changed files with 196 additions and 79 deletions

View File

@ -1412,6 +1412,10 @@ export namespace Components {
* If true, the fab button will be translucent. Defaults to `false`.
*/
'translucent': boolean;
/**
* The type of the button. Possible values are: `"submit"`, `"reset"` and `"button"`. Default value is: `"button"`
*/
'type': 'submit' | 'reset' | 'button';
}
interface IonFabButtonAttributes extends StencilHTMLAttributes {
/**
@ -1435,6 +1439,14 @@ export namespace Components {
*/
'mode'?: Mode;
/**
* Emitted when the button loses focus.
*/
'onIonBlur'?: (event: CustomEvent<void>) => void;
/**
* Emitted when the button has focus.
*/
'onIonFocus'?: (event: CustomEvent<void>) => void;
/**
* When using a router, it specifies the transition direction when navigating to another page using `href`.
*/
'routerDirection'?: RouterDirection;
@ -1446,6 +1458,10 @@ export namespace Components {
* If true, the fab button will be translucent. Defaults to `false`.
*/
'translucent'?: boolean;
/**
* The type of the button. Possible values are: `"submit"`, `"reset"` and `"button"`. Default value is: `"button"`
*/
'type'?: 'submit' | 'reset' | 'button';
}
interface IonFabList {