uicore-ts
Version:
UICore is a library to build native-like user interfaces using pure Typescript. No HTML is needed at all. Components are described as TS classes and all user interactions are handled explicitly. This library is strongly inspired by the UIKit framework tha
42 lines (41 loc) • 1.49 kB
TypeScript
import { UIView, UIViewAddControlEventTargetObject } from "./UIView";
export declare class UIDateTimeInput extends UIView {
constructor(elementID: string, type?: string);
static controlEvent: {
readonly PointerDown: "PointerDown";
readonly PointerMove: "PointerMove";
readonly PointerDrag: "PointerDrag";
readonly PointerLeave: "PointerLeave";
readonly PointerEnter: "PointerEnter";
readonly PointerUpInside: "PointerUpInside";
readonly PointerTap: "PointerTap";
readonly PointerUp: "PointerUp";
readonly MultipleTouches: "PointerZoom";
readonly PointerCancel: "PointerCancel";
readonly PointerHover: "PointerHover";
readonly EnterDown: "EnterDown";
readonly EnterUp: "EnterUp";
readonly EscDown: "EscDown";
readonly TabDown: "TabDown";
readonly LeftArrowDown: "LeftArrowDown";
readonly RightArrowDown: "RightArrowDown";
readonly DownArrowDown: "DownArrowDown";
readonly UpArrowDown: "UpArrowDown";
readonly Focus: "Focus";
readonly Blur: "Blur";
} & {
ValueChange: string;
};
get controlEventTargetAccumulator(): UIViewAddControlEventTargetObject<UIDateTimeInput>;
static type: {
Date: string;
Time: string;
DateTime: string;
};
static format: {
European: string;
ISOComputer: string;
American: string;
};
get date(): Date;
}