Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ClsSsBox Class = "ss-box" ClsSsToggle Class = "ss-toggle" ClsSsDropdown Class = "ss-dropdown" ClsSsHeader Class = "ss-header" ClsSsIcon Class = "ss-icon" ClsSsSearch Class = "ss-search" ClsSsOptions Class = "ss-options" ClsSsOption Class = "ss-option" ClsSsLabel Class = "ss-label" ClsSsDesc Class = "ss-desc" )
Functions ¶
This section is empty.
Types ¶
type SelectSearch ¶
type SelectSearch struct {
Element // value embed — NEVER pointer (TinyGo heap constraint)
Placeholder string // text shown when nothing is selected
Options []SsOption // initial static options
OnSelect func(id, description string) // called when user picks an option
OnSearch func(term string) []SsOption // called when ALL local options are filtered out
// contains filtered or unexported fields
}
func (*SelectSearch) IconSvg ¶ added in v0.1.5
func (c *SelectSearch) IconSvg() *svg.Sprite
func (*SelectSearch) OnMount ¶
func (c *SelectSearch) OnMount()
No build tag needed — TinyGo eliminates this as dead code in SSR builds.
func (*SelectSearch) Render ¶
func (c *SelectSearch) Render() *Element
Click to show internal directories.
Click to hide internal directories.