ignite-html-bootstrap/dropdown-button.js

15 lines
395 B
JavaScript
Raw Normal View History

2020-09-18 17:02:02 -07:00
import { IgniteElement } from "../ignite-html/ignite-element.js";
import { IgniteTemplate, button } from "../ignite-html/ignite-template.js";
class DropdownButtonTemplate extends IgniteTemplate {
constructor(...children) {
super("button", children);
this.class("dropdown-item");
this.type("button");
}
}
export {
DropdownButtonTemplate as DropdownButton
};