Part of nevow.blocks View Source View In Hierarchy
Implements interfaces: nevow.inevow.IRenderer
Render a fragment of html with a head and a body. The body can be in two states, expanded and collapsed. When the body is in collapsed state, it is not visible in the browser. Clicking on the head area causes the visibility state of the body to toggle.
TODO: This should be rewritten to check for patterns and slots so you could have it use table or paragraph tags or whatever instead of a span and a div, and you can omit the visibility image if desired (js would have to change too)| Line # | Kind | Name | Docs |
|---|---|---|---|
| 164 | Method | __init__ | Undocumented |
| 173 | Method | rend | Turn this instance into stan suitable for displaying it in a web page. |