Button
Table of contents
Button without content
Button with TextView
as a content
It's a custom view based on ListLayout
and receives input focus, has content that is automatically centered by default. This makes it convenient for creating interactive buttons or components with clickable areas
Create from source
func NewButton(session Session, params Params) Button
Create new button object and returns its interface
Create from resource
Button {
id = button,
content = [],
}
Interface description
Inherit methods, properties and events from CustomView
Related global functions
func ButtonByID(rootView View, id string) Button
Return a Button
with id equal to the argument of the function or nil if there is no such View or View is not a Button