mozilla

Revision 161653 of notification

  • Revision slug: XUL/notification
  • Revision title: notification
  • Revision id: 161653
  • Created:
  • Creator: 2bass
  • Is current revision? No
  • Comment add notification element

Revision Content

{{template.XULRefElem()}}

<notification> is used to display an informative message. It will normally be used as part of a <notificationbox>.

Properties
{{template.PrefAnch("p-", "accessible")}}, {{template.PrefAnch("p-", "control")}}, {{template.PrefAnch("p-", "image")}}, {{template.PrefAnch("p-", "label")}}, {{template.PrefAnch("p-", "priority")}}, {{template.PrefAnch("p-", "type")}}, {{template.PrefAnch("p-", "value")}}
Methods
{{template.PrefAnch("m-", "close")}}

Examples

<notification label="This is a warning"/>

Attributes

{{template.XULAttrInherited()}}


Properties

{{template.XULPropInc("accessible")}} {{template.XULPropInc("image")}} {{template.XULPropInc("label")}} {{template.XULPropInc("priority")}} {{template.XULPropInc("type")}} {{template.XULPropInc("value")}}

Methods

{{template.XULMethInherited()}} {{template.XULMethInc("close")}}

Related

Elements
{{template.XULElem("notificationbox")}}

Revision Source

<div class="noinclude">{{template.XULRefElem()}}</div> 
<p>&lt;notification&gt; is used to display an informative message. It will normally be used as part of a &lt;notificationbox&gt;.
</p>
<dl><dt> Properties
</dt><dd> {{template.PrefAnch("p-", "accessible")}}, {{template.PrefAnch("p-", "control")}}, {{template.PrefAnch("p-", "image")}}, {{template.PrefAnch("p-", "label")}}, {{template.PrefAnch("p-", "priority")}}, {{template.PrefAnch("p-", "type")}}, {{template.PrefAnch("p-", "value")}}
</dd></dl>
<dl><dt> Methods
</dt><dd> {{template.PrefAnch("m-", "close")}}
</dd></dl>
<h3 name="Examples"> Examples </h3>
<pre>&lt;notification label="This is a warning"/&gt;
</pre>
<h3 name="Attributes"> Attributes </h3>
<p>{{template.XULAttrInherited()}}
</p><p><br>
</p>
<h3 name="Properties"> Properties  </h3>
<p>{{template.XULPropInc("accessible")}}
{{template.XULPropInc("image")}}
{{template.XULPropInc("label")}}
{{template.XULPropInc("priority")}}
{{template.XULPropInc("type")}}
{{template.XULPropInc("value")}}
</p>
<h3 name="Methods"> Methods </h3>
<p>{{template.XULMethInherited()}}
{{template.XULMethInc("close")}}
</p>
<h3 name="Related"> Related </h3>
<dl><dt> Elements 
</dt><dd> {{template.XULElem("notificationbox")}}
</dd></dl>
Revert to this revision