mozilla

Revision 170748 of where

  • Revision slug: XUL/where
  • Revision title: where
  • Revision id: 170748
  • Created:
  • Creator: Enn
  • Is current revision? No
  • Comment New page: <noinclude>{{XULRefElem}}</noinclude> __NOTOC__ Indicate a condition that must match for a template result to be used. If the condition is true, the corresponding {{XULElem|action}} body ...

Revision Content

{{template.XULRefElem()}}

Indicate a condition that must match for a template result to be used. If the condition is true, the corresponding {{template.XULElem("action")}} body is generated; otherwise the result is ignored and no content is generated.

For more information, see Where Elements.

Attributes
expr, ignorecase, multiple, negate, value, var

Examples

(example needed)

Attributes

{{template.XULAttrInc("expr")}} {{template.XULAttrInc("ignorecase")}} {{template.XULAttrInc("multiple")}} {{template.XULAttrInc("negate")}} {{template.XULAttrInc("value")}} {{template.XULAttrInc("var")}} {{template.XULAttrInheritedWide()}}

Properties

{{template.XULPropInheritedWide()}}

Methods

{{template.XULMethInheritedWide()}}

Revision Source

<div class="noinclude">{{template.XULRefElem()}}</div> 
<p>Indicate a condition that must match for a template result to be used. If the condition is true, the corresponding {{template.XULElem("action")}} body is generated; otherwise the result is ignored and no content is generated.
</p><p>For more information, see <a href="en/XUL/Template_Guide/Multiple_Rules#Where_Elements">Where Elements</a>.
</p>
<dl><dt> Attributes
</dt><dd> <a href="#a-expr">expr</a>, <a href="#a-">ignorecase</a>, <a href="#a-">multiple</a>, <a href="#a-">negate</a>, <a href="#a-">value</a>, <a href="#a-">var</a>
</dd></dl>
<h3 name="Examples"> Examples </h3>
<p>(example needed)
</p>
<h3 name="Attributes"> Attributes </h3>
<p>{{template.XULAttrInc("expr")}}
{{template.XULAttrInc("ignorecase")}}
{{template.XULAttrInc("multiple")}}
{{template.XULAttrInc("negate")}}
{{template.XULAttrInc("value")}}
{{template.XULAttrInc("var")}}
{{template.XULAttrInheritedWide()}}
</p>
<h3 name="Properties"> Properties  </h3>
<p>{{template.XULPropInheritedWide()}}
</p>
<h3 name="Methods"> Methods </h3>
<p>{{template.XULMethInheritedWide()}}
</p>
Revert to this revision