html-ui.tree-node
As of snapshot dt2aPjQUrI. See the latest
- description
- One folding row of the explorer tree: a details whose summary links to path (data-path for opening the rows of the current page). parts is the URL that gives the part rows of a module (loaded when opened; empty for other rows)
- type
Fn( kind: String, path: String, parts: String, label: String, note: String, children: List<@html.node> ) -> @html.node
- expression
fn(kind$0, path$1, parts$2, label$3, note$4, children$5) => @html.element( name: "li", attributes: [], children: [ @html.element( name: "details", attributes: @core.list-concat( left: [{name: "class", value: $0}, {name: "data-path", value: $1}], right: match @core.equal(left: $2, right: "") { true => [], false => [{name: "data-parts", value: $2}] } ), children: [ @html.element( name: "summary", attributes: [], children: [ @html.element(name: "a", attributes: [{name: "href", value: $1}], children: [@html.text(text: $3)]), @html.text(text: " "), @html.element(name: "span", attributes: [{name: "class", value: "count"}], children: [@html.text(text: $4)]) ] ), @html.element(name: "ul", attributes: [], children: $5) ] ) ] )
- visibility
- public
html-ui.tree-node (project html-ui, branch remove-deploy-button, snapshot dt2aPjQUrIkBOz-2trTI6JX-dnOvCsvqp9O2GMbdWn8) id: 9L_9R8ZsD_6DTh3aQuMe5OQYhYlcxP6cfX1qmYvYGHA content hash: YDAaPRJbmcrbcoFIlbA9kCXxcDbyjlkqRDFdfRm4TxA