JuliaPluto / PlutoUI.jl

https://featured.plutojl.org/basic/plutoui.jl
The Unlicense
299 stars 54 forks source link

Handle tricky interpolations in `combine` #167

Closed fonsp closed 2 years ago

fonsp commented 2 years ago

Where render order is not equal to the order in which Child is called, e.g.

@bind hello combine() do Child
      z = Child(Slider(1:10))

      @htl("""
      <p>Hello world!</p>
      $(z)
      $(Child(Slider([sin, cos, tan])))
      $(z)

      """)
end
github-actions[bot] commented 2 years ago

Try this Pull Request!

Open Julia and type:

  julia> import Pkg
julia> Pkg.activate(temp=true)
julia> Pkg.add(url="https://github.com/JuliaPluto/PlutoUI.jl", rev="combine-more-complicated")
julia> using PlutoUI

Or run this code in your browser: Run with binder