DuoyunResizeBaseElement
DuoyunResizeBaseElement is updated when the element size changes, e.g: <dy-area-chart>borderBoxSize and contentRect property
import { DuoyunResizeBaseElement } from 'duoyun-ui/elements/base/resize';
@customElement('my-ele')
export class MyEleElement extends DuoyunResizeBaseElement {
render = () => {
return html`${JSON.stringify(this.contentRect)}`;
};
}