Home Manual Reference Source
public class | source

Extension

Represents an extension written in JavaScript.

Static Method Summary

Static Public Methods
public static

footer(name: string, title: string, entryPoint: function()): Extension

Creates a footer extension.

public static

header(name: string, title: string, entryPoint: function()): Extension

Creates a header extension.

Static Public Methods

Creates a footer extension.

Params:

NameTypeAttributeDescription
name string

A unique name of the extension.

title string

The title of the menu item in the footer.

entryPoint function()

The entrypoint of the footer extension.

Return:

Extension

the extension which can be registered using the ExtensionRegistry.

public static header(name: string, title: string, entryPoint: function()): Extension source

Creates a header extension.

Params:

NameTypeAttributeDescription
name string

A unique name of the extension.

title string

The title of the menu item in the header.

entryPoint function()

The entrypoint of the header extension.

Return:

Extension

the extension which can be registered using the ExtensionRegistry.