From f922305dd39e67f4d6b4711e86510782bae224e4 Mon Sep 17 00:00:00 2001 From: web-padawan Date: Tue, 14 Nov 2017 11:05:47 +0200 Subject: [PATCH] Document public methods. Add links to styling docs --- vaadin-notification.html | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/vaadin-notification.html b/vaadin-notification.html index a998ad2..2ce60c1 100644 --- a/vaadin-notification.html +++ b/vaadin-notification.html @@ -196,6 +196,8 @@ * * ### Styling * + * [Generic styling/theming documentation](https://cdn.vaadin.com/vaadin-valo-theme/0.3.1/demo/customization.html) + * * See [`` documentation](https://github.com/vaadin/vaadin-overlay/blob/master/vaadin-overlay.html) * for `` parts. * @@ -217,8 +219,7 @@ * * ### Styling * - * See [`` documentation](https://github.com/vaadin/vaadin-overlay/blob/master/vaadin-overlay.html) - * for `` parts. + * [Generic styling/theming documentation](https://cdn.vaadin.com/vaadin-valo-theme/0.3.1/demo/customization.html) * * @memberof Vaadin * @mixes Vaadin.ThemableMixin @@ -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 @@ -322,10 +325,16 @@ ]; } + /** + * Opens the notification. + */ open() { this.opened = true; } + /** + * Closes the notification. + */ close() { this.opened = false; }