Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Model ¶
type Model struct { Slides []string Page int Author string Date string Theme glamour.TermRendererOption Paging string FileName string // VirtualText is used for additional information that is not part of the // original slides, it will be displayed on a slide and reset on page change VirtualText string Search navigation.Search // contains filtered or unexported fields }
Model represents the model of this presentation, which contains all the state related to the current slides.
func (*Model) CurrentPage ¶ added in v0.7.0
CurrentPage returns the current page the presentation is on.
func (Model) Init ¶
Init initializes the model and begins watching the slides file for changes if it exists.
func (*Model) Load ¶ added in v0.3.0
Load loads all of the content and metadata for the presentation.
Click to show internal directories.
Click to hide internal directories.