mirror of
https://github.com/barsdeveloper/ueblueprint.git
synced 2026-02-03 23:55:04 +08:00
20 lines
553 B
JavaScript
20 lines
553 B
JavaScript
import ColorSliderTemplate from "../template/ColorSliderTemplate.js"
|
|
import IDraggableControlElement from "./IDraggableControlElement.js"
|
|
|
|
/** @extends {IDraggableControlElement<Object, ColorSliderTemplate>} */
|
|
export default class ColorSliderElement extends IDraggableControlElement {
|
|
|
|
constructor() {
|
|
super()
|
|
super.initialize({}, new ColorSliderTemplate())
|
|
}
|
|
|
|
static newObject() {
|
|
return new ColorSliderElement()
|
|
}
|
|
|
|
initialize() {
|
|
// Initialized in the constructor, this method does nothing
|
|
}
|
|
}
|