js: add font & hint font for input

This commit is contained in:
王劲鹏
2021-07-20 15:38:25 +08:00
committed by osborn
parent 7830811362
commit 04d9958a4d
8 changed files with 297 additions and 41 deletions

View File

@@ -14,7 +14,9 @@ export declare class Input extends View {
text?: string;
textColor?: Color;
textSize?: number;
font?: string;
hintText?: string;
hintFont?: string;
inputType?: InputType;
hintTextColor?: Color;
multiline?: boolean;

View File

@@ -67,10 +67,18 @@ __decorate([
Property,
__metadata("design:type", Number)
], Input.prototype, "textSize", void 0);
__decorate([
Property,
__metadata("design:type", String)
], Input.prototype, "font", void 0);
__decorate([
Property,
__metadata("design:type", String)
], Input.prototype, "hintText", void 0);
__decorate([
Property,
__metadata("design:type", String)
], Input.prototype, "hintFont", void 0);
__decorate([
Property,
__metadata("design:type", Number)