* Gets the type of the input. Returns "textarea" if the input is * a textarea.
()
| 76 | * a textarea. |
| 77 | */ |
| 78 | async getType(): Promise<string> { |
| 79 | // The "type" property of the native input is never undefined. |
| 80 | return await (await this.host()).getProperty<string>('type'); |
| 81 | } |
| 82 | |
| 83 | /** Gets the placeholder of the input. */ |
| 84 | async getPlaceholder(): Promise<string> { |