#web #asmjs #svg #yew

yew_svg

SVG icon helper for yew framework

2 unstable releases

0.2.0 Feb 9, 2019
0.1.0 Nov 23, 2018

#11 in #asmjs

Download history 22/week @ 2018-11-23 12/week @ 2018-11-30 3/week @ 2018-12-07 4/week @ 2018-12-14 18/week @ 2018-12-21 2/week @ 2018-12-28 5/week @ 2019-01-04 4/week @ 2019-01-11 2/week @ 2019-01-18 1/week @ 2019-01-25 3/week @ 2019-02-01

22 downloads per month

MIT/Apache

6KB
131 lines

SVG Icon Helper for yew framework

support yew 0.5

USAGE

1) with remote svg-defs:

html!{
    <SVG: href="/svg-defs.svg#shape",/>
}

2) with local *.svg file or string:

html!{
    <SVG: content=include_str!("../svgs/satellite.svg"),/>
}

Dependencies

~3.5MB
~73K SLoC