iced icon indicating copy to clipboard operation
iced copied to clipboard

Allow to replace an element instead of append to body for web rendering

Open traxys opened this issue 1 year ago • 1 comments

In case you want to have the application at the start of the page and some other content after it just appending to the body won't work

With this change you can add a <div id="iced_root"></div> and it will be replaced by the canvas

traxys avatar Sep 19 '22 15:09 traxys

How cool would it be to have an Elm lang package that allows for Iced embeds using this! Elm could handle all the SEO, pages, general web stuff, and Iced could be for the parts that don't need SEO and/or rendering of more complicated features.

13r0ck avatar Sep 20 '22 02:09 13r0ck