Skip to content

Feature request: multiple binds to the same variable #1103

Discussion options

You must be logged in to vote

It is possible, as long as you combine all bonds in a single cell, using a begin block. You can assign names to the bonds to reference them again:

# ╔═╡ b9226b48-aeeb-4a48-8420-5ca577359a49
begin
	b1 = @bind x Slider(5:15)
	b2 = @bind x NumberField(5:15)
end;

# ╔═╡ dcdac710-8dd4-4724-93ce-4bd046950a5f
b1

# ╔═╡ a2612b3b-bb90-40d8-8869-78568f2cb6c9
b2
Schermopname.2021-04-17.om.01.08.46.mov

Replies: 3 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@fonsp
Comment options

@sefffal
Comment options

Answer selected by fonsp
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #1097 on April 16, 2021 23:09.