@mocanvas/editor · function
declare function suffixSafeId(id: string, suffix: string): SafeIdAdd a suffix to a safe id and keep it safe.
The pattern one id, several defs needs: suffixSafeId(id, "clip") and
suffixSafeId(id, "shadow") are distinct, stable, and both referencable.
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.