NumPages returns the number of pages in the Tab.
()
| 70 | |
| 71 | // NumPages returns the number of pages in the Tab. |
| 72 | func (t *Tab) NumPages() int { |
| 73 | return len(t.children) |
| 74 | } |
| 75 | |
| 76 | // Margined returns whether page n (starting at 0) of the Tab |
| 77 | // has margins around its child. |
nothing calls this directly
no outgoing calls
no test coverage detected