Skip to content
Snippets Groups Projects
Commit 1b14c8e5 authored by Reiter, Christoph's avatar Reiter, Christoph :snake:
Browse files

Remove all mentions of bulma and hardcode the referenced info instead

parent 5b948b29
No related branches found
No related tags found
No related merge requests found
/** /**
* Sends a notification via the event * 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: * example options:
* *
......
...@@ -10,14 +10,12 @@ import VPULitElement from './vpu-lit-element.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 * Use the attribute "no-spinner-on-click" to disable the spinner, then you can
* start it with start() and stop it with stop() * start it with start() and stop it with stop()
* *
* Use the attribute "type" to set Bulma styles like "is-info" * Type can be is-primary/is-info/is-success/is-warning/is-danger
* See https://bulma.io/documentation/elements/button/#colors for a list of all styles
*/ */
class Button extends VPULitElement { class Button extends VPULitElement {
constructor() { constructor() {
super(); super();
this.value = ""; this.value = "";
// see: https://bulma.io/documentation/elements/button/#colors
this.type = ""; this.type = "";
this.spinner = false; this.spinner = false;
this.noSpinnerOnClick = false; this.noSpinnerOnClick = false;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment