docs(backdrop): update docs and add usage

This commit is contained in:
Brandy Carney
2018-04-05 15:38:18 -04:00
parent b5f5812bb4
commit 80a94401fb
5 changed files with 103 additions and 4 deletions

View File

@ -15,10 +15,24 @@ export class Backdrop {
private lastClick = -10000;
/**
* If true, the backdrop will be visible. Defaults to `true`.
*/
@Prop() visible = true;
/**
* If true, the backdrop will can be clicked and will emit the `ionBackdropTap` event. Defaults to `true`.
*/
@Prop() tappable = true;
/**
* If true, the backdrop will stop propogation on tap. Defaults to `true`.
*/
@Prop() stopPropagation = true;
/**
* Emitted when the backdrop is tapped.
*/
@Event() ionBackdropTap: EventEmitter;
componentDidLoad() {