@flashport/flashportui
Version:
This is a set basic UI components for FlashPort
37 lines (36 loc) • 978 B
TypeScript
import { Sprite } from "@flashport/flashport";
/**
* ...
* @author Kenny Lerma
*/
export declare class KStepper extends Sprite {
static readonly RIGHT: string;
static readonly LEFT: string;
static readonly TOP: string;
static readonly BOTTOM: string;
private _mainStage;
private _topHandle;
private _bottomHandle;
private _topTri;
private _bottomTri;
private _currentDown;
private _inputText;
private _showInput;
private _labelSide;
private _useStepper;
private _stepValue;
private _value;
private _isIncrement;
constructor(stepValue?: number, showInputField?: boolean, labelSide?: string, useStepper?: boolean);
private onAddedToStage;
private onRemovedFromStage;
private Draw;
enable: () => void;
disable: () => void;
private onMouseDown;
private onMouseUp;
private inputChanged;
get value(): number;
set value(value: number);
get isIncrement(): boolean;
}