Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Application ¶
Application is a controlling structure for whole application.
func NewApplication ¶
func NewApplication(opts *ApplicationOptions) *Application
NewApplication creates new BulpherJS application.
func (*Application) SetStartFunction ¶
func (a *Application) SetStartFunction(f func(*Application))
SetStartFunction sets start function which will be executed on app's Start() call.
func (*Application) SetTitle ¶
func (a *Application) SetTitle(title string)
SetTitle sets passed title as page title.
type ApplicationOptions ¶
type ApplicationOptions struct { // Bulma is a Bulma CSS framework specific options. Bulma *BulmaOptions // Name is an application name as shown in title. Name string }
ApplicationOptions is a structure which holds application's options.
Click to show internal directories.
Click to hide internal directories.