Documentation / @ripl/svg / createContext
Function: createContext() ​
createContext(
target,options?):SVGContext
Defined in: svg/src/index.ts:840
Creates an SVG rendering context attached to the given DOM target.
Parameters ​
| Parameter | Type |
|---|---|
target | string | HTMLElement |
options? | ContextOptions<Record<string, unknown>> |