pui.addCSS( css code )



This function dynamically adds CSS code to the currently running application.

Parameter:

  • css code

Example:

The following line adds CSS code to make the text on all buttons with the class "button" red.

pui.addCSS("INPUT.button { color: red }");