Class: Mixins

vcs.ui.Mixins

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
message string
callback function

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
widget string

vcs.ui.Mixins.notifyError(message)

Displays an error message at the bottom of the content.

Name Type Description
message string

vcs.ui.Mixins.notifyInfo(message)

Displays an info message at the bottom of the content.

Name Type Description
message string

vcs.ui.Mixins.notifySuccess(message)

Displays a success message at the bottom of the content.

Name Type Description
message string

vcs.ui.Mixins.setDefaultContentState(route)

Sets the content state for a specific route

Name Type Description
route string

vcs.ui.Mixins.setUiConfig(path, dropContentPosition)

Sets 'this.uiConfig' to the given path of the "ui" config

Name Type Description
path string
dropContentPosition boolean

vcs.ui.Mixins.translateText(obj){string}

Custom translation method used for Objects, such as legend titles.

Name Type Description
obj string | Object.<string, string>