--- title: binding slug: Mozilla/Tech/XUL/binding tags: - Dokumentacja_XUL - Elementy_XUL translation_of: Archive/Mozilla/XUL/binding ---
« Dokumentacja XUL [ Przykłady | Atrybuty | Własności | Metody | Podobne ]

Powinien zawierać się w wewnątrz elementu bindings. binding jest stosowany do wiązania zmiennej do węzła. Podobnie jak element triple może być stosowany do wiązania danej własności dopasowanej do węzła ze zmienną o danej nazwę. Nazwa ta może być wykorzystana w przypisaniu akcji do reguły.

Własności
object, predicate, subject

Przykłady

(potrzebny przykład)

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, querytype, ref, removeelement, sortDirection, sortResource, sortResource2, statustext, style, template, tooltip, tooltiptext, top, uri, wait-cursor, width

Własności

object
Obiekt elementu. Może być referencją zmiennej, URI źródła RDF lub wartością literalną RDF.
predicate
Predykat lub własność do dopasowania. Musi być adresem URI własności.
subject
Element tematu. Potrafi być odniesieniem zmiennej lub źródłem RDF adresu URI.

Dziedziczy z elementu XUL
align, , allowEvents, , boxObject, builder, , , , className, , , , , collapsed, contextMenu, controllers, database, datasources, dir, , , flex, height, hidden, id, , , left, , maxHeight, maxWidth, menu, minHeight, minWidth, , , , , , , observes, ordinal, orient, , pack, , persist, , , , ref, resource, , , , , statusText, style, ,, tooltip, tooltipText, top, width

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()

Podobne

TBD