* Returns Resources manager. Only available after attachment. It throws * exception before the element is attached. * @return {!./service/resources-interface.ResourcesInterface} * @final * @package
()
| 327 | * @package |
| 328 | */ |
| 329 | getResources() { |
| 330 | devAssert( |
| 331 | this.resources_, |
| 332 | 'no resources yet, since element is not attached' |
| 333 | ); |
| 334 | return /** @type {!./service/resources-interface.ResourcesInterface} */ ( |
| 335 | this.resources_ |
| 336 | ); |
| 337 | } |
| 338 | |
| 339 | /** |
| 340 | * Whether the element has been upgraded yet. Always returns false when |
no test coverage detected