ActiveUI

ActiveUI

  • User Guide
  • Developer Documentation

Home > @activeviam/activeui-sdk > ActiveUIOptions

ActiveUIOptions interface

Options for creating an instance of ActiveUI.

Signature:

export interface ActiveUIOptions 

Properties

PropertyTypeDescription
assertAntDesignRootClassOnBodybooleanWhether ActiveUI-SDK should check that body has the Ant Design root class name. Defaults to true.
automaticRestoreStorageTypeAutomaticRestoreStorageTypeType of storage used to store last state of the application and restore it at startup
contentServerRootFolderNamestringCustom name of the Content Server root folder.
defaultSettingsSettingsMapSettings map that will be merged on top of the default one.
enableFullSizeEscapeShortcutbooleanEnable exiting full-screen mode using the Escape key.
enableHistoryKeyboardShortcutsbooleanEnable global undo/redo keyboard controls: Ctrl+Z/Cmd+Z for undo, Ctrl+Y/Cmd+Y or Ctrl+Shift+Z/Cmd+Shift+Z for redo
experimentalFlagsstring[]A list of experimental features to activate in ActiveUI. See the documentation for an exhaustive list of available features.
fetchTranslationFetchTranslationTakes locale and default "fetch translation" method and returns a promise resolving to the translation data.
notifyUncaughtExceptionsbooleanWhether ActiveUI SDK should display an error notification when facing an uncaught exception, or let it propagate. Defaults to true.
plugins{
[pluginType: string]: PluginDescription[];
}
A map with plugin types as keys. Values are lists of PluginDescriptions to be registered.
securityTypeSerializedPluginThe serialized authentication holder plugin to use. Refer to the Public Plugins page in the ActiveUI Developer documentation for a list of built-in implementations.
stateApplicationStateObject that will be merged on top of the default initial state.
supportedLocalesLocaleDescription[]List of the locales supported by the project.
synchronizeLocalebooleanSet to false to disable server calls to synchronize locale.
  • ActiveUIOptions interface
  • Properties
Copyright © 2019 ActiveViam