()
| 235 | */ |
| 236 | @Method() |
| 237 | async present(): Promise<void> { |
| 238 | const unlock = await this.lockController.lock(); |
| 239 | |
| 240 | await this.delegateController.attachViewToDom(); |
| 241 | |
| 242 | await present(this, 'pickerEnter', iosEnterAnimation, iosEnterAnimation, undefined); |
| 243 | |
| 244 | if (this.duration > 0) { |
| 245 | this.durationTimeout = setTimeout(() => this.dismiss(), this.duration); |
| 246 | } |
| 247 | |
| 248 | unlock(); |
| 249 | } |
| 250 | |
| 251 | /** |
| 252 | * Dismiss the picker overlay after it has been presented. |
no test coverage detected