Observes
The observes element can be used to listen to a broadcaster and receive events and attributes from it. The observes element should be placed inside the element that wants to observe the broadcaster. When an observed attribute is modified on the broadcaster, the attribute's value will be forwarded and set on the parent element of the observer.
More information about observes
Attributes:
Inherited from XUL Element:
align
allowevents
allownegativeassertions
class
coalesceduplicatearcs
collapsed
container
containment
context
contextmenu
datasources
dir
empty
equalsize
flags
flex
height
hidden
id
insertafter
insertbefore
left
maxheight
maxwidth
menu
minheight
minwidth
mousethrough
observes
ordinal
orient
pack
persist
popup
position
preference-editable
ref
removeelement
sortDirection
sortResource
sortResource2
statustext
style
template
tooltip
tooltiptext
top
uri
wait-cursor
width
attribute
Type: attribute name
The attribute that the observer is observing. When the value of the attribute changes, the broadcast event is called on the observer. Use the value '*' to observe all attribute of the broadcasters. The id, ref and persist attributes are not observed.
element
Type: broadcaster element id
The id of the broadcaster element that the observer is observing.
Properties and Methods:
Inherited from XUL Element:
Inherited from Element: