Skip to content

Commit

Permalink
Document public methods. Add links to styling docs
Browse files Browse the repository at this point in the history
  • Loading branch information
web-padawan committed Nov 14, 2017
1 parent 8327a81 commit f922305
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions vaadin-notification.html
Original file line number Diff line number Diff line change
Expand Up @@ -196,6 +196,8 @@
*
* ### Styling
*
* [Generic styling/theming documentation](https://cdn.vaadin.com/vaadin-valo-theme/0.3.1/demo/customization.html)
*
* See [`<vaadin-overlay>` documentation](https://github.com/vaadin/vaadin-overlay/blob/master/vaadin-overlay.html)
* for `<vaadin-notification-overlay>` parts.
*
Expand All @@ -217,8 +219,7 @@
*
* ### Styling
*
* See [`<vaadin-overlay>` documentation](https://github.com/vaadin/vaadin-overlay/blob/master/vaadin-overlay.html)
* for `<vaadin-notification-overlay>` parts.
* [Generic styling/theming documentation](https://cdn.vaadin.com/vaadin-valo-theme/0.3.1/demo/customization.html)
*
* @memberof Vaadin
* @mixes Vaadin.ThemableMixin
Expand Down Expand Up @@ -248,6 +249,8 @@
*
* ### Styling
*
* [Generic styling/theming documentation](https://cdn.vaadin.com/vaadin-valo-theme/0.3.1/demo/customization.html)
*
* The following Shadow DOM parts are available for styling:
*
* Part name | Description | Theme for Element
Expand Down Expand Up @@ -322,10 +325,16 @@
];
}

/**
* Opens the notification.
*/
open() {
this.opened = true;
}

/**
* Closes the notification.
*/
close() {
this.opened = false;
}
Expand Down

0 comments on commit f922305

Please # to comment.