Gets whether the option is selected.
()
| 58 | |
| 59 | /** Gets whether the option is selected. */ |
| 60 | async isSelected(): Promise<boolean> { |
| 61 | return (await this.host()).hasClass('mdc-list-item--selected'); |
| 62 | } |
| 63 | |
| 64 | /** Gets whether the option is active. */ |
| 65 | async isActive(): Promise<boolean> { |