js: font style for input

This commit is contained in:
王劲鹏
2023-01-12 11:09:22 +08:00
committed by osborn
parent 956cf7583e
commit 81c519dcdf
20 changed files with 1129 additions and 836 deletions

View File

@@ -60,6 +60,9 @@ export class Input extends View {
@Property
textAlignment?: Gravity
@Property
fontStyle?: "normal" | "bold" | "italic" | "bold_italic"
@Property
onTextChange?: (text?: string) => void