JuliaPluto / PlutoUI.jl

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

Add `wrapped` #180

Closed fonsp closed 2 years ago

fonsp commented 2 years ago
DogsSlider(range) = PlutoUI.wrapped() do Child
    md"""
    ### How many dogs do you have?

    I have $(
        Child(Slider(range))
    ) dogs.
    """
end

Available through PlutoUI.Experimental.wrapped

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="wrapped")
julia> using PlutoUI

Or run this code in your browser: Run with binder