StyleService.createStyle Method

Creates a style based on the style given. The ID field should be left blank, as it will be populated after the object is created.
 

Parameters

style

Type: Style
The style to create and save.

Return Value


Type: jQuery.Promise
Value: dundas.entities.Style
A promise object that is resolved when the call is complete. If successful, the created dundas.entities.Style is returned.