Property Summery | |
---|---|
String | #text The textual content of the style. |
Method Summery | |
---|---|
String | #getName() Gets the name of the style. |
Property Details |
---|
text |
The textual content of the style. |
Returns String |
Samplevar 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()); |
Method Details |
---|
getName |
String getName () |
Gets the name of the style. |
Returns String – A String holding the name of the style. |
Samplevar 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()); |