@mangoweb/shapes
v0.0.6
Published
Injects svg with symbols.
Downloads
21
Keywords
Readme
Shapes
The manGoweb Shapes component.
Installation
npm install @mangoweb/shapes @mangoweb/scripts-base
This is a @mangoweb/scripts-base
component.
Usage
In your template:
<script>
window.initComponents = (window.initComponents || []).push({
name: 'Shapes',
props: {
url: '/shapes.svg',
},
})
</script>
IE support (caniuse)
Use fetch
polyfill, e.g., <script src="https://polyfill.io/v3/polyfill.min.js?features=fetch"></script>