JuliaPluto / PlutoUI.jl

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

Add optional `label` kwarg to `confirm` #294

Closed genericallyterrible closed 4 months ago

genericallyterrible commented 4 months ago

Respects user agent by default, allows user to override the submit button's value with the label kwarg.

Supersedes https://github.com/JuliaPluto/PlutoUI.jl/pull/243

image

github-actions[bot] commented 4 months ago

Try this Pull Request!

Open Julia and type:

  julia> import Pkg
julia> Pkg.activate(temp=true)
julia> Pkg.add(url="https://github.com/genericallyterrible/PlutoUI.jl", rev="add-confirm-label")
julia> using PlutoUI

Or run this code in your browser: Run with binder

fonsp commented 4 months ago

Awesome! Thanks for the very nice implementation ☺️