new vcs.ui.Mixins()
Vue Mixins, defined on every vue component.
Members
-
vcs.ui.Mixins.uiConfig{Object}
-
Methods
-
vcs.ui.Mixins.alert(message, callback)
-
Creates an alert with a 'Cancel' and 'OK' button
Name Type Description messagestring callbackfunction -
vcs.ui.Mixins.getFramework(){vcs.vcm.Framework}
-
Gets the VCM framework instance
-
vcs.ui.Mixins.getWidget(widget){vcs.vcm.widgets.Widget}
-
Gets a specific widget
Name Type Description widgetstring -
vcs.ui.Mixins.notifyError(message)
-
Displays an error message at the bottom of the content.
Name Type Description messagestring -
vcs.ui.Mixins.notifyInfo(message)
-
Displays an info message at the bottom of the content.
Name Type Description messagestring -
vcs.ui.Mixins.notifySuccess(message)
-
Displays a success message at the bottom of the content.
Name Type Description messagestring -
vcs.ui.Mixins.setDefaultContentState(route)
-
Sets the content state for a specific route
Name Type Description routestring -
vcs.ui.Mixins.setUiConfig(path, dropContentPosition)
-
Sets 'this.uiConfig' to the given path of the "ui" config
Name Type Description pathstring dropContentPositionboolean -
vcs.ui.Mixins.translateText(obj){string}
-
Custom translation method used for Objects, such as legend titles.
Name Type Description objstring | Object.<string, string>
virtualcityMAP 3.6