Child pages
  • JSStyle
Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 30 Current »

Refresh page Apr 27, 2024 15:55

Supported Clients
SmartClient WebClient NGClient

Property Summary
String text The textual content of the style.

Methods Summary
String getName() Gets the name of the style.
UUID getUUID() Returns the UUID of the style object

Property Details

text

The textual content of the style.

Returns

Supported Clients

SmartClient,WebClient,NGClient

Sample

var st = solutionModel.newStyle('myStyle','form { background-color: yellow; }');
st.text = st.text + 'field { background-color: blue; }';
form.styleName = 'myStyle';
application.output('Style name is: ' + st.getName());

Methods Details

getName()

Gets the name of the style.

Returns

Supported Clients

SmartClient,WebClient,NGClient

Sample

var st = solutionModel.newStyle('myStyle','form { background-color: yellow; }');
st.text = st.text + 'field { background-color: blue; }';
form.styleName = 'myStyle';
application.output('Style name is: ' + st.getName());

getUUID()

Returns the UUID of the style object

Returns

Supported Clients

SmartClient,WebClient,NGClient

Sample

var st = solutionModel.newStyle('myStyle','form { background-color: yellow; }');
application.output(st.getUUID().toString());

  • No labels