Versions Compared


  • This line was added.
  • This line was removed.
  • Formatting was changed.


In the TSS file, define attributes as key-value pairs, where the key is the name of the markup element, the class name prefixed with a period (.), or the id name prefixed with a hash tag (#) and the value is a dictionary of attributes (or Titanium class properties) to set.  You can optionally place a conditional block with the key name to apply styles under certain conditions as explained in the Platform-specific styles and Custom query styles sections below.

You can use the following values and operators in your TSS file:


Code Block
Alloy.Globals.rotateLeft = Ti.UI.create2DMatrixcreateMatrix2D().rotate(-90);

Global styles