* Return a promise that requests the runtime to update * the height of this element to the specified value. * The runtime will schedule this request and attempt to process it * as soon as possible. However, unlike in forceChangeHeight, the runtime * may refuse to make a change in
(newHeight)
| 888 | * @public |
| 889 | */ |
| 890 | attemptChangeHeight(newHeight) { |
| 891 | return Services.mutatorForDoc(this.getAmpDoc()).requestChangeSize( |
| 892 | this.element, |
| 893 | newHeight, |
| 894 | /* newWidth */ undefined |
| 895 | ); |
| 896 | } |
| 897 | |
| 898 | /** |
| 899 | * Return a promise that requests the runtime to update |
no test coverage detected