Closed kskyten closed 5 years ago
Hi,
You can use nothing
as the value to create a valueless attribute:
julia> m("video", controls=nothing)
<video controls></video>
Note that right now I recommend using the master branch of Hyperscript; now that it's got more users I plan to do a release some time in the near future with all of the latest improvements.
Thanks!
How do I add, for example, a
controls
attribute to a video tag?