Section represents a section of a document (such as a presentation slide) comprising a title and a list of elements.
| 104 | // Section represents a section of a document (such as a presentation slide) |
| 105 | // comprising a title and a list of elements. |
| 106 | type Section struct { |
| 107 | Number []int |
| 108 | Title string |
| 109 | ID string // HTML anchor ID |
| 110 | Elem []Elem |
| 111 | Notes []string |
| 112 | Classes []string |
| 113 | Styles []string |
| 114 | } |
| 115 | |
| 116 | // HTMLAttributes for the section |
| 117 | func (s Section) HTMLAttributes() template.HTMLAttr { |
nothing calls this directly
no outgoing calls
no test coverage detected