render-option ( text selected? -- xml )


Vocabulary
html.components

Inputs
textan object
selected?an object


Outputs
xmlan object


Definition


: render-option ( text selected? -- xml )
"selected" and swap 2 nenum T{ xml-chunk
{ seq
V{
""
T{ tag
{ name ~name~ }
{ attrs ~attrs~ }
{ children ~vector~ }
}
""
}
}
} interpolate-xml ;