refactor(keyboard): move to utils

This commit is contained in:
Manu Mtz.-Almeida
2018-03-19 20:10:37 +01:00
parent 4d8a99f03b
commit c85f7483c9
23 changed files with 120 additions and 299 deletions

View File

@ -34,6 +34,7 @@ export class Modal implements OverlayInterface {
@Prop() overlayId: number;
@Prop() delegate: FrameworkDelegate;
@Prop() keyboardClose = true;
/**
* The color to use from your Sass `$colors` map.

View File

@ -98,6 +98,11 @@ If true, the modal will be dismissed when the backdrop is clicked. Defaults to `
Animation to use when the modal is presented.
#### keyboardClose
boolean
#### leaveAnimation
@ -185,6 +190,11 @@ If true, the modal will be dismissed when the backdrop is clicked. Defaults to `
Animation to use when the modal is presented.
#### keyboard-close
boolean
#### leave-animation