@mocanvas/editor · interface
interface ContentElementSourceThe half of a shape util this manager needs. Structural, so it is testable without an Editor.
Properties · 2
getContentElement?(shape: UnknownShape): HTMLElement | undefinedonReleaseContentElement?(shape: UnknownShape, element: HTMLElement): voidMentioned here
mocanvas is built by Symbio. Free for non-commercial, non-profit and development use; commercial use needs an agreement. Not affiliated with or endorsed by tldraw.