Expand all

ext.CollaborationKit.hubtheme

Constructor

new ext.CollaborationKit.hubtheme($, mw, OO) #

Parameters:

Name Type Description
$ jQuery
mw mw
OO OO
Source:

Methods

getColourBlock(colorName) → {jQuery.Promise} #

Get a colour block for inserting into page

Parameters:

Name Type Description
colorName string

Name of colour

Source:

Returns:

Promise with API result

Type
jQuery.Promise
Get a colour block for inserting into page

getThumbnail(filename) → {jQuery} #

Get an image thumbnail with 150px width

Parameters:

Name Type Description
filename string
Source:

Returns:

promise

Type
jQuery
Get an image thumbnail with 150px width