* Subclasses can override this method to opt-in into being called to * render when document itself is in preview mode. * * The return value of this function is used to determine whether or not the * element will be built _and_ laid out during preview mode. Therefore, any * changes to
(element)
| 158 | * @return {boolean} |
| 159 | */ |
| 160 | static previewAllowed(element) { |
| 161 | return this.prerenderAllowed(element); |
| 162 | } |
| 163 | |
| 164 | /** |
| 165 | * Subclasses can override this method to indicate that an element can load |
no test coverage detected