Properties:
| Name | Type | Attributes | Description |
|---|---|---|---|
context_tools |
Array.<module:SVGEditor.ContextTool> | PlainObject.<string, module:SVGEditor.ContextTool> |
<optional> |
|
buttons |
Array.<module:SVGEditor.Button> | PlainObject.<Integer, module:SVGEditor.Button> |
<optional> |
|
svgicons |
string |
<optional> |
The location of a local SVG or SVGz file |
- Source:
Methods
addLangData(arg) → {Promise.<module:locale.ExtensionLocaleData>}
Parameters:
| Name | Type | Description |
|---|---|---|
arg |
module:svgcanvas.SvgCanvas#event:ext_addLangData |
- Source:
Returns:
Resolves to module:locale.ExtensionLocaleData
- Type
- Promise.<module:locale.ExtensionLocaleData>
callback(arg) → {void}
This:
Parameters:
| Name | Type | Description |
|---|---|---|
arg |
module:svgcanvas.SvgCanvas#event:ext_callback |
- Source:
Returns:
- Type
- void
canvasUpdated(arg) → {void}
Parameters:
| Name | Type | Description |
|---|---|---|
arg |
module:svgcanvas.SvgCanvas#event:ext_canvasUpdated |
- Source:
Returns:
- Type
- void
elementChanged(arg) → {void}
Parameters:
| Name | Type | Description |
|---|---|---|
arg |
module:svgcanvas.SvgCanvas#event:ext_elementChanged |
- Source:
Returns:
- Type
- void
elementTransition(arg) → {void}
Parameters:
| Name | Type | Description |
|---|---|---|
arg |
module:svgcanvas.SvgCanvas#event:ext_elementTransition |
- Source:
Returns:
- Type
- void
IDsUpdated(arg) → {module:svgcanvas.ExtensionIDsUpdatedStatus}
Parameters:
| Name | Type | Description |
|---|---|---|
arg |
module:svgcanvas.SvgCanvas#event:ext_IDsUpdated |
- Source:
Returns:
langChanged(arg) → {void}
Parameters:
| Name | Type | Description |
|---|---|---|
arg |
module:svgcanvas.SvgCanvas#event:ext_langChanged |
- Source:
Returns:
- Type
- void
langReady(arg) → {void}
Parameters:
| Name | Type | Description |
|---|---|---|
arg |
module:svgcanvas.SvgCanvas#event:ext_langReady |
- Source:
Returns:
- Type
- void
mouseDown(arg) → {void|module:svgcanvas.ExtensionMouseDownStatus}
Parameters:
| Name | Type | Description |
|---|---|---|
arg |
module:svgcanvas.SvgCanvas#event:ext_mouseDown |
- Source:
Returns:
- Type
- void | module:svgcanvas.ExtensionMouseDownStatus
mouseMove(arg) → {void}
Parameters:
| Name | Type | Description |
|---|---|---|
arg |
module:svgcanvas.SvgCanvas#event:ext_mouseMove |
- Source:
Returns:
- Type
- void
mouseUp(arg) → {module:svgcanvas.ExtensionMouseUpStatus}
Parameters:
| Name | Type | Description |
|---|---|---|
arg |
module:svgcanvas.SvgCanvas#event:ext_mouseUp |
- Source:
Returns:
onNewDocument(arg) → {void}
Parameters:
| Name | Type | Description |
|---|---|---|
arg |
module:svgcanvas.SvgCanvas#event:ext_onNewDocument |
- Source:
Returns:
- Type
- void
selectedChanged(arg) → {void}
Parameters:
| Name | Type | Description |
|---|---|---|
arg |
module:svgcanvas.SvgCanvas#event:ext_selectedChanged |
- Source:
Returns:
- Type
- void
toolButtonStateUpdate(arg) → {void}
Parameters:
| Name | Type | Description |
|---|---|---|
arg |
module:svgcanvas.SvgCanvas#event:ext_toolButtonStateUpdate |
- Source:
Returns:
- Type
- void
workareaResized(arg) → {void}
Parameters:
| Name | Type | Description |
|---|---|---|
arg |
module:svgcanvas.SvgCanvas#event:ext_workareaResized |
- Source:
Returns:
- Type
- void
zoomChanged(arg) → {void}
Parameters:
| Name | Type | Description |
|---|---|---|
arg |
module:svgcanvas.SvgCanvas#event:ext_zoomChanged |
- Source:
Returns:
- Type
- void