* The constructor registers a resize listener to invalidate the measurement cache when the component size changes. * @param {Object} config
(config)
| 212 | * @param {Object} config |
| 213 | */ |
| 214 | construct(config) { |
| 215 | super.construct(config); |
| 216 | |
| 217 | let me = this; |
| 218 | |
| 219 | me.addDomListeners({ |
| 220 | resize: me.onResize, |
| 221 | scope : me |
| 222 | }); |
| 223 | |
| 224 | me.app?.on('visibilitychange', me.onVisibilityChange, me) |
| 225 | } |
| 226 | |
| 227 | /** |
| 228 | * Registers or unregisters this component with the global ResizeObserver addon. |
nothing calls this directly
no test coverage detected