()
| 151 | this.spacing = comp.spacing ?? 1; |
| 152 | } |
| 153 | getHTML() { |
| 154 | if (this.divider) { |
| 155 | const hr = document.createElement("hr"); |
| 156 | if (this.spacing === 1) { |
| 157 | hr.style.margin = "4px"; |
| 158 | } else { |
| 159 | hr.style.margin = "8px"; |
| 160 | } |
| 161 | return hr; |
| 162 | } else { |
| 163 | const hr = document.createElement("span"); |
| 164 | |
| 165 | if (this.spacing === 1) { |
| 166 | hr.style.height = "16px"; |
| 167 | } else { |
| 168 | hr.style.height = "32px"; |
| 169 | } |
| 170 | |
| 171 | return hr; |
| 172 | } |
| 173 | } |
| 174 | } |
| 175 | class Thumbnail extends compObj { |
| 176 | owner: Components; |
nothing calls this directly
no outgoing calls
no test coverage detected