XUL:content
z Mozilla Developer Center, polskiego centrum programistów Mozilli.
« Dokumentacja XUL [ Przykłady | Atrybuty | Własności | Metody | Podobne ]
Ten element powinien pojawić się wewnątrz elementu conditions. Warunek zasady powinien zawierać jeden i tylko jeden element content. Element content powinien również posiadać atrybut uri. Jest on używany do połączenia zmiennej do wierzchołka zawartości podczas porównania. W przypadku stosowania drzewa z atrybutem flags ustawionym na dont-build-content, zastosuj zamiast tego element treeitem.
Dodatkowe informacje są dostępne w kursie XUL.
[edytuj] Przykłady
(potrzebne przykłady)
[edytuj] Atrybuty
|
Dziedziczy z elementu XUL |
[edytuj] Własności
|
Dziedziczy z elementu XUL Dziedziczy z elementu DOM |
- tag
- Type: tag name
- This may be set to a tag name. If set, the conditions will only match if the template builder is parsing content for an element directly inside this tag. For example, by using a value of
treechildren, the condition will only match when placing elements directly inside atreechildrentag. Thus, nested elements will not match because they are directly inside a treeitem. This attribute is useful to provide different rules for outer and inner elements.
- uri
- Typ: ?
- Used to specify the variable name for the content. When a rule is evaluated, it scans through each resource in the RDF datasource looking for a match. Each resource is placed in the variable specified in the
uriattribute in turn. Then, the other rules are evaluated for a match. This attribute should always be present.
[edytuj] Metody
|
Dziedziczy z elementu XUL Dziedziczy z elementu DOM |
[edytuj] Podobne
TBD