Skip to main content

%ZEN.Mojo.Plugin.chuiHelper

class %ZEN.Mojo.Plugin.chuiHelper extends %ZEN.Mojo.Plugin.baseHelperPlugin

This plugin adds support for the chocolate-chip UI library. It was developed and tested with chui version 3.5.2 0.5.5 - corrected rendering of $navbar 0.5.4 - corrected rendering of $aside 0.5.3 - decoupled documentation from plugin 0.5.2 - updated documentation to reflect current state

Property Inventory

Method Inventory

Properties

property pluginName as %String [ InitialExpression = "chuiHelper" ];
The unique name of the Plugin. All features of this plugin will be registered using this identifier.
Property methods: pluginNameDisplayToLogical(), pluginNameGet(), pluginNameIsValid(), pluginNameLogicalToDisplay(), pluginNameLogicalToOdbc(), pluginNameNormalize(), pluginNameSet()
property version as %String (XMLPROJECTION = "NONE") [ InitialExpression = "0.5.5" ];
A version string of the base helper plugin. Major/Minor/Build
Property methods: versionDisplayToLogical(), versionGet(), versionIsValid(), versionLogicalToDisplay(), versionLogicalToOdbc(), versionNormalize(), versionSet()

Methods

clientmethod createLayoutObjects(type, instance) [ Language = javascript ]
Create a layout object for a document item. These objects form the layout graph used to render the document. Each layout object contains the context and code needed to render itself.
clientmethod getFeatures() [ Language = javascript ]
This method returns an array containing objects which describe all layout elements the plugin supports. Each object in the list has to set the property 'identifier' in order to register this layout element for this plugin. In case multiple plugins register for the same feature the documentView component will indicate this conflict. Use the getPluginConflicts method in order to retrieve the conflicts. The first plugin which registers a features will be used for dispatching in case there is a conflict. If you want to change preference use the setPluginMapping method of the documentView
clientmethod onCheckLibraries() [ Language = javascript ]
This method is supposed to check that all required libraries have been loaded. Returns true for success, false otherwise.

Inherited Members

Inherited Properties

Inherited Methods

FeedbackOpens in a new tab