loadEventHandlers method
Loads this component event handlers. Call super to check whether this component has been attached. If it hasn't, it will throw ComponentNotRenderedException.
Because this is a StringComponent, this method is not called as this component never gets rendered independently. The parent needs to call this typically during postRender.
BUG: There might need a way for this to be called automatically after attached.
Implementation
@override
void loadEventHandlers() {
super.loadEventHandlers();
_resizeObserver.observe(_svgElem);
}