Index

mmo-import-config

1 symbol · generated 30 Sep 2026

view

import-variable

mmo-import-config.jhs:1

ImportConfig element

<view id="import-variable">…</view>
Extends
CustomElement

Index

svgthe svg of the import config
configurations accessorGet the configurations
config accessorGet 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

Properties2

configurations

accessormmo-import-config.jhs:209

Get the configurations

get configurations() set configurations(value)
Type
object

Methods16

showSvg(repository, collection)

mmo-import-config.jhs:264

Show the SVG

showSvg(repository, collection)
repositorystring- The repository
collectionstring- The collection

removeVariable(name)

mmo-import-config.jhs:284

Remove a variable

removeVariable(name)
namestring- The name of the variable
returnsbooleanTrue if the variable was removed, false otherwise

toggleEditVariable(name)

mmo-import-config.jhs:299

Toggle the edit mode for a variable

toggleEditVariable(name)
namestring- The name of the variable
returnsbooleanTrue if the variable was toggled, false otherwise

removeMapping(name)

mmo-import-config.jhs:322

Remove a mapping

removeMapping(name)
namestring- The name of the mapping
returnsbooleanTrue if the mapping was removed, false otherwise

toggleEditMapping(name)

mmo-import-config.jhs:337

Toggle the edit mode for a mapping

toggleEditMapping(name)
namestring- The name of the mapping
returnsbooleanTrue if the mapping was toggled, false otherwise

addRelation(name)

mmo-import-config.jhs:353

Add a relation

addRelation(name)
namestring- The name of the relation
returnsbooleanTrue if the relation was added, false otherwise

removeRelation(name, index)

mmo-import-config.jhs:369

Remove a relation

removeRelation(name, index)
namestring- The name of the relation
indexnumber- The index of the relation
returnsbooleanTrue if the relation was removed, false otherwise

addDestination(name)

mmo-import-config.jhs:384

Add a destination

addDestination(name)
namestring- The name of the destination
returnsboolean | voidTrue if the destination was added, false otherwise or void if the destination was not added

removeDestination(name, index)

mmo-import-config.jhs:405

Remove a destination

removeDestination(name, index)
namestring- The name of the destination
indexnumber- The index of the destination
returnsbooleanTrue if the destination was removed, false otherwise

updatePaths()

mmo-import-config.jhs:419

Update the paths

updatePaths()
returnsPromiseA promise that resolves when the paths are updated