* Pauses the element. * * @package @final
()
| 1686 | * @package @final |
| 1687 | */ |
| 1688 | pause() { |
| 1689 | if (!this.isBuilt()) { |
| 1690 | // Not built yet. |
| 1691 | return; |
| 1692 | } |
| 1693 | |
| 1694 | this.impl_.pauseCallback(); |
| 1695 | |
| 1696 | // Legacy unlayoutOnPause support. |
| 1697 | if (!this.R1() && this.impl_.unlayoutOnPause()) { |
| 1698 | this.unlayout_(); |
| 1699 | } |
| 1700 | } |
| 1701 | |
| 1702 | /** |
| 1703 | * Requests the resource to resume its activity when the document returns |
no test coverage detected