mmo-import-config
1 symbol · generated 30 Sep 2026
import-variable
mmo-import-config.jhs:1ImportConfig element
- Extends
- CustomElement
Index
| svg | the svg of the import config | |
| configurations accessor | Get the configurations | |
| config accessor | Get the config | |
| constructor() | ||
| init() | ||
| save() | Save the current configuration | |
| download() | Download the current configuration | |
| showSvg(repository, collection) | Show the SVG | |
| addVariable() | Add a variable | |
| removeVariable(name) | Remove a variable | |
| toggleEditVariable(name) | Toggle the edit mode for a variable | |
| addMapping() | Add a mapping | |
| removeMapping(name) | Remove a mapping | |
| toggleEditMapping(name) | Toggle the edit mode for a mapping | |
| addRelation(name) | Add a relation | |
| removeRelation(name, index) | Remove a relation | |
| addDestination(name) | Add a destination | |
| removeDestination(name, index) | Remove a destination | |
| updatePaths() | Update the paths |
Attributes1
svg
mmo-import-config.jhsthe svg of the import config
svg
Properties2
configurations
accessormmo-import-config.jhs:209Get the configurations
- Type
object
config
accessormmo-import-config.jhs:228Get the config
- Type
object
Methods16
constructor()
mmo-import-config.jhs:165init()
mmo-import-config.jhs:173save()
mmo-import-config.jhs:182Save the current configuration
download()
mmo-import-config.jhs:192Download the current configuration
showSvg(repository, collection)
mmo-import-config.jhs:264Show the SVG
| repository | string | - The repository |
| collection | string | - The collection |
addVariable()
mmo-import-config.jhs:275Add a variable
removeVariable(name)
mmo-import-config.jhs:284Remove a variable
| name | string | - The name of the variable |
| returns | boolean | True if the variable was removed, false otherwise |
toggleEditVariable(name)
mmo-import-config.jhs:299Toggle the edit mode for a variable
| name | string | - The name of the variable |
| returns | boolean | True if the variable was toggled, false otherwise |
addMapping()
mmo-import-config.jhs:313Add a mapping
removeMapping(name)
mmo-import-config.jhs:322Remove a mapping
| name | string | - The name of the mapping |
| returns | boolean | True if the mapping was removed, false otherwise |
toggleEditMapping(name)
mmo-import-config.jhs:337Toggle the edit mode for a mapping
| name | string | - The name of the mapping |
| returns | boolean | True if the mapping was toggled, false otherwise |
addRelation(name)
mmo-import-config.jhs:353Add a relation
| name | string | - The name of the relation |
| returns | boolean | True if the relation was added, false otherwise |
removeRelation(name, index)
mmo-import-config.jhs:369Remove a relation
| name | string | - The name of the relation |
| index | number | - The index of the relation |
| returns | boolean | True if the relation was removed, false otherwise |
addDestination(name)
mmo-import-config.jhs:384Add a destination
| name | string | - The name of the destination |
| returns | boolean | void | True if the destination was added, false otherwise or void if the destination was not added |
removeDestination(name, index)
mmo-import-config.jhs:405Remove a destination
| name | string | - The name of the destination |
| index | number | - The index of the destination |
| returns | boolean | True if the destination was removed, false otherwise |
updatePaths()
mmo-import-config.jhs:419Update the paths
| returns | Promise | A promise that resolves when the paths are updated |