docs(): remove code blocks in docs

This commit is contained in:
mhartington
2018-05-31 16:13:53 -04:00
parent 5ad35ccc00
commit aaf3eee59d
21 changed files with 98 additions and 146 deletions

View File

@ -167,9 +167,6 @@ export class Picker implements OverlayInterface {
* Returns a promise that resolves when the picker did dismiss. It also accepts a callback
* that is called in the same circustances.
*
* ```
* const {data, role} = await picker.onDidDismiss();
* ```
*/
@Method()
onDidDismiss(callback?: (detail: OverlayEventDetail) => void): Promise<OverlayEventDetail> {
@ -180,9 +177,6 @@ export class Picker implements OverlayInterface {
* Returns a promise that resolves when the picker will dismiss. It also accepts a callback
* that is called in the same circustances.
*
* ```
* const {data, role} = await picker.onWillDismiss();
* ```
*/
@Method()
onWillDismiss(callback?: (detail: OverlayEventDetail) => void): Promise<OverlayEventDetail> {

View File

@ -215,20 +215,12 @@ Dismiss the picker overlay after it has been presented.
Returns a promise that resolves when the picker did dismiss. It also accepts a callback
that is called in the same circustances.
```
const {data, role} = await picker.onDidDismiss();
```
#### onWillDismiss()
Returns a promise that resolves when the picker will dismiss. It also accepts a callback
that is called in the same circustances.
```
const {data, role} = await picker.onWillDismiss();
```
#### present()