Visit Mozilla.org

XUL:notification

z Mozilla Developer Center, polskiego centrum programistów Mozilli.

« Dokumentacja XUL    [ Przykłady | Atrybuty | Własności | Metody | Podobne ]

<notification> jest stosowane do wyświetlenia wiadomości informacyjnych. Normalnie jest zastosowane jako część <notificationbox>.

Własności
accessible, control, image, label, priority, type, value
Metody
close

[edytuj] Przykłady

<notification label="To jest ostrzeżenie"/>

[edytuj] Atrybuty

Dziedziczy z elementu XUL
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

[edytuj] Własności

accessible
Typ: nsIAccessible
Zwraca obiekt dostępności dla elementu.

image
Typ: adres URL obrazka
Pobiera i ustawia wartość atrybutu image.

label
Typ: string
Pobiera i ustawia wartość atrybutu label.

XUL:Własność:priority

type
Typ: string
Pobiera i ustawia wartość atrybutu type.

value
Typ: string
Pobiera i ustawia wartość atrybutu value.

[edytuj] Metody

Dziedziczy z elementu XUL
blur, click, doCommand, focus, getElementsByAttribute

Dziedziczy z elementu DOM
addEventListener, appendChild, dispatchEvent, getAttribute, getAttributeNode, getAttributeNodeNS, getAttributeNS, getElementsByTagName, getElementsByTagNameNS, hasAttribute, hasAttributeNS, hasAttributes, hasChildNodes, insertBefore, isSupported, normalize, removeAttribute, removeAttributeNode, removeAttributeNS, removeChild, removeEventListener, replaceChild, setAttribute, setAttributeNode, setAttributeNodeNS, setAttributeNS

close
Zwraca typ: brak
Zamyka powiadomienie i usuwa je z jego otaczających znaczników <notificationbox>.


[edytuj] Podobne

Elementy
notificationbox