update demo
This commit is contained in:
2
doric-js/lib/src/widget/input.d.ts
vendored
2
doric-js/lib/src/widget/input.d.ts
vendored
@@ -22,7 +22,7 @@ export declare class Input extends View {
|
||||
export declare enum InputType {
|
||||
Default = 0,
|
||||
Number = 1,
|
||||
NumberSigned = 2,
|
||||
Decimal = 2,
|
||||
Alphabet = 3,
|
||||
Phone = 4
|
||||
}
|
||||
|
@@ -60,6 +60,10 @@ let Input = /** @class */ (() => {
|
||||
Property,
|
||||
__metadata("design:type", String)
|
||||
], Input.prototype, "hintText", void 0);
|
||||
__decorate([
|
||||
Property,
|
||||
__metadata("design:type", Number)
|
||||
], Input.prototype, "inputType", void 0);
|
||||
__decorate([
|
||||
Property,
|
||||
__metadata("design:type", Color)
|
||||
@@ -87,6 +91,14 @@ let Input = /** @class */ (() => {
|
||||
return Input;
|
||||
})();
|
||||
export { Input };
|
||||
export var InputType;
|
||||
(function (InputType) {
|
||||
InputType[InputType["Default"] = 0] = "Default";
|
||||
InputType[InputType["Number"] = 1] = "Number";
|
||||
InputType[InputType["Decimal"] = 2] = "Decimal";
|
||||
InputType[InputType["Alphabet"] = 3] = "Alphabet";
|
||||
InputType[InputType["Phone"] = 4] = "Phone";
|
||||
})(InputType || (InputType = {}));
|
||||
export function input(config) {
|
||||
const ret = new Input;
|
||||
ret.layoutConfig = layoutConfig().just();
|
||||
|
Reference in New Issue
Block a user