* Collapses the element, setting it to `display: none`, and notifies its * owner (if there is one) through collapsedCallback that the element * is no longer visible.
()
| 845 | * is no longer visible. |
| 846 | */ |
| 847 | collapse() { |
| 848 | Services.mutatorForDoc(this.getAmpDoc()).collapseElement(this.element); |
| 849 | } |
| 850 | |
| 851 | /** |
| 852 | * Return a promise that request the runtime to collapse one element |
no test coverage detected