Skip to content

Commit 947025f

Browse files
author
Pietro Vertechi
committed
document multiple option in togglebuttons
1 parent d91b4a4 commit 947025f

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/optioninput.jl

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -313,9 +313,10 @@ for wdg in [:togglebuttons, :tabs]
313313
end
314314

315315
"""
316-
`togglebuttons(options::AbstractDict; value::Union{T, Observable})`
316+
`togglebuttons(options::AbstractDict; value::Union{T, Observable}, multiple=false)`
317317
318-
Creates a set of toggle buttons whose labels are the keys of options.
318+
Creates a set of toggle buttons whose labels are the keys of options. Set `multiple=true`
319+
to allow multiple (or zero) active buttons at the same time.
319320
320321
`togglebuttons(values::AbstractArray; kwargs...)`
321322

0 commit comments

Comments
 (0)