docs(): remove mention of controllers (#20444)

resolves #20453
This commit is contained in:
Liam DeBeasi
2020-02-12 09:55:58 -05:00
committed by GitHub
parent 054223b79c
commit 99d6069ecb
9 changed files with 42 additions and 64 deletions

View File

@ -2,12 +2,6 @@
A Modal is a dialog that appears on top of the app's content, and must be dismissed by the app before interaction can resume. It is useful as a select component when there are a lot of options to choose from, or when filtering items in a list, as well as many other use cases.
### Creating
Modals can be created using a [Modal Controller](../modal-controller). They can be customized by passing modal options in the modal controller's `create()` method.
### Dismissing
The modal can be dismissed after creation by calling the `dismiss()` method on the modal controller. The `onDidDismiss` function can be called to perform an action after the modal is dismissed.
@ -255,7 +249,7 @@ customElements.define('modal-page', class extends HTMLElement {
### Dismissing a Modal
A modal can be dismissed by calling the dismiss method on the modal controller and optionally passing any data from the modal.
A modal can be dismissed by calling the dismiss method and optionally passing any data from the modal.
```javascript
async function dismissModal() {