mirror of
https://github.com/barsdeveloper/ueblueprint.git
synced 2026-02-04 08:50:33 +08:00
19 lines
613 B
JavaScript
19 lines
613 B
JavaScript
import ColorHandlerTemplate from "../template/ColorHandlerTemplate"
|
|
import IDraggableControlElement from "./IDraggableControlElement"
|
|
|
|
/** @typedef {import("../template/ColorPickerWindowTemplate").default} ColorPickerWindowTemplate */
|
|
/**
|
|
* @template T
|
|
* @typedef {import("./WindowElement").default<T>} WindowElement
|
|
*/
|
|
|
|
/** @extends {IDraggableControlElement<Object, ColorHandlerTemplate>} */
|
|
export default class ColorHandlerElement extends IDraggableControlElement {
|
|
|
|
constructor() {
|
|
super({}, new ColorHandlerTemplate())
|
|
}
|
|
}
|
|
|
|
customElements.define("ueb-color-handler", ColorHandlerElement)
|