mirror of
https://github.com/barsdeveloper/ueblueprint.git
synced 2026-03-06 15:47:30 +08:00
Small refactoring, set variable node
This commit is contained in:
@@ -1,11 +1,11 @@
|
||||
import { html } from "lit"
|
||||
import IntegerEntity from "../entity/IntegerEntity"
|
||||
import INumericPinTemplate from "./INumericPinTemplate"
|
||||
import INumericInputPinTemplate from "./INumericInputPinTemplate"
|
||||
|
||||
/** @typedef {import("../entity/IntegerEntity").default} IntEntity */
|
||||
|
||||
/** @extends INumericPinTemplate<IntEntity> */
|
||||
export default class IntPinTemplate extends INumericPinTemplate {
|
||||
/** @extends INumericInputPinTemplate<IntEntity> */
|
||||
export default class IntInputPinTemplate extends INumericInputPinTemplate {
|
||||
|
||||
setDefaultValue(values = [], rawValues = values) {
|
||||
this.element.setDefaultValue(new IntegerEntity(values[0]))
|
||||
|
||||
Reference in New Issue
Block a user