Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

alpine js x:bind href link

<svg x-data="{ myicon: '#myicon'}">
   <use x-bind:xlink:href="myicon" xlink:href="#myicon"></use>
</svg>
Source by github.com #
 
PREVIOUS NEXT
Tagged: #alpine #js #href #link
ADD COMMENT
Topic
Name
5+4 =