UNPKG

@jswf/core

Version:

JavaScript Window Framework

19 lines (18 loc) 651 B
import { Color } from "../ColorPickerView"; export interface PanelCreateParam { type?: string; label: string; value?: string | boolean | Color; name?: string; option?: { label: string; value?: string; }[]; size?: number; event?: (node?: HTMLElement, value?: unknown) => void; } export declare class PanelControl { static setControlValue(target: HTMLElement, name: string, value: string | number | boolean): void; static getControlValue(target: HTMLElement, name: string): string | boolean | null; static createControl(target: HTMLElement, param: PanelCreateParam): void; }