Add states attribute to notebook
review485002
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
* Add states attribute to notebook
|
||||
* Allow to use tuple for Reference
|
||||
* Add constant interpolation on line graph
|
||||
* Add create/delete field access
|
||||
|
||||
@@ -303,6 +303,8 @@ It adds a notebook widget which can contain page tags.
|
||||
|
||||
* ``colspan``: see in common-attributes-colspan_.
|
||||
|
||||
* ``states``: see in common-attributes-states_.
|
||||
|
||||
page
|
||||
^^^^
|
||||
|
||||
|
||||
@@ -145,6 +145,7 @@ attlist.button &= attribute name { text }
|
||||
attlist.button &= attribute states { text }?
|
||||
notebook = element notebook { attlist.notebook, page* }
|
||||
attlist.notebook &= [ a:defaultValue = "4" ] attribute colspan { text }?
|
||||
attlist.notebook &= attribute states { text }?
|
||||
page =
|
||||
element page {
|
||||
attlist.page,
|
||||
|
||||
@@ -566,6 +566,11 @@
|
||||
<attribute name="colspan" a:defaultValue="4"/>
|
||||
</optional>
|
||||
</define>
|
||||
<define name="attlist.notebook" combine="interleave">
|
||||
<optional>
|
||||
<attribute name="states"/>
|
||||
</optional>
|
||||
</define>
|
||||
<define name="page">
|
||||
<element name="page">
|
||||
<ref name="attlist.page"/>
|
||||
|
||||
Reference in New Issue
Block a user