feat:Input add password property

This commit is contained in:
pengfeizhou
2021-02-08 18:18:37 +08:00
committed by osborn
parent 521ce19c1c
commit 07c701ef23
12 changed files with 170 additions and 86 deletions

View File

@@ -53,6 +53,9 @@ export class Input extends View {
@Property
maxLength?: number
@Property
password?: boolean
getText(context: BridgeContext) {
return this.nativeChannel(context, 'getText')() as Promise<string>