Class: Registry

sync.ext.Registry

new Registry()

Registry for the framework extension objects.
Source:

Members

(static) extension :sync.ext.Extension

The field that holds the currently loaded extension.
Type:
Source:

(static) extensionURL :string

An URL where the framework's web folder is mapped.
Type:
  • string
Source:

Methods

(static) getExtensionURL() → {String}

Returns the URL of the extension resources folder. This can be used in a framework extension to load other resources that are relative to framework.js.
Source:
Returns:
The URL of the extension resources folder.
Type
String

(static) registerExtension(extension)

Registers the given extension.
Parameters:
Name Type Description
extension sync.ext.Extension The extension.
Source: