behavior:output

Formatted output behavior. The behavior can be applied to any text container, e.g. <span>, <em>, etc.

Elements

that have this behavior applied by default:

Note that you can use shortcut notations with the output in Sciter, so these three declarations are equivalent:

<output name="first" type="text" />
<output|text(first)/>
<(first)|text>

Attributes

If the value cannot be converted to declared type then the element gets :invalid state flag;

If numeric value is negative then the element gets negative attribute set so it can be styled differently, e.g. output[negative] { color:red; }

Events

N/A - no specific events.

Value

any value, presumably matching declared type.

Methods

N/A - behavior:output does not introduce any specific methods.