Skip to main content

Pentaho+ documentation has moved!

The new product documentation portal is here. Check it out now at docs.hitachivantara.com

 

Hitachi Vantara Lumada and Pentaho Documentation

LoadThemeAnnotation

pentaho.theme. LoadThemeAnnotation

The LoadThemeAnnotation causes a module's associated theme resources, if any, to be loaded when the module is loaded.

Constructor

Name Description
new LoadThemeAnnotation(forModule)

Creates a load theme annotation associated with a given module.

Members

Name Description
id : string
Static

Gets the type of annotation.

Methods

Name Description
createAsync(forModule, annotSpec) : Promise.<pentaho.theme.LoadThemeAnnotation>
Static

Creates an asynchronous annotation, given the annotated module and the annotation specification.

Constructor Details

new LoadThemeAnnotation(forModule)

Creates a load theme annotation associated with a given module.

Source: javascript/web/pentaho/theme/LoadThemeAnnotation.js, line 23

Parameters:
Name Default Value Summary
forModule : pentaho.module.IMeta

The annotated module.

Members Details

id: string
Static

Gets the type of annotation.

Source: javascript/web/pentaho/theme/LoadThemeAnnotation.js, line 44

Methods Details

createAsync(forModule, annotSpec) : Promise.<pentaho.theme.LoadThemeAnnotation>
Static

Creates an asynchronous annotation, given the annotated module and the annotation specification.

This method loads a module's theme explicitly by using the pentaho.theme.IService#loadModuleThemeAsync method.

Source: javascript/web/pentaho/theme/LoadThemeAnnotation.js, line 59

Parameters:
Name Default Value Summary
forModule : pentaho.module.IMeta

The annotated module.

annotSpec : object

The annotation specification.

Returns:
Name Description
Promise.<pentaho.theme.LoadThemeAnnotation>

A promise that resolves to the created annotation.