diff --git a/packages/common/notification.js b/packages/common/notification.js index 95481829410883f71fbf78c1a2b6f82bc63c15ad..d36aacb36ffbe251b641e5df2724226a1b92e62f 100644 --- a/packages/common/notification.js +++ b/packages/common/notification.js @@ -1,7 +1,7 @@ /** * Sends a notification via the event * - * For type see: https://bulma.io/documentation/elements/notification/#colors + * Type can be info/success/warning/danger * * example options: * diff --git a/packages/common/vpu-button.js b/packages/common/vpu-button.js index 317aaad6c1cd2648f92298a9b4192e53cc096d97..1e66f3f1a91fe48d0c0820a717dd57a9d99d77b0 100644 --- a/packages/common/vpu-button.js +++ b/packages/common/vpu-button.js @@ -10,14 +10,12 @@ import VPULitElement from './vpu-lit-element.js'; * Use the attribute "no-spinner-on-click" to disable the spinner, then you can * start it with start() and stop it with stop() * - * Use the attribute "type" to set Bulma styles like "is-info" - * See https://bulma.io/documentation/elements/button/#colors for a list of all styles + * Type can be is-primary/is-info/is-success/is-warning/is-danger */ class Button extends VPULitElement { constructor() { super(); this.value = ""; - // see: https://bulma.io/documentation/elements/button/#colors this.type = ""; this.spinner = false; this.noSpinnerOnClick = false;