Support this project with your organization. This project exists thanks to all the people who contribute.īecome a financial contributor and help us sustain our community. Should return a Promise that resolves with the SVG source (String).Ĭheck out all the icons here! Contributors Code Contributors GetIconSvg(iconName): method used to retrieve the SVG image. URL should point to the folder that contains the images. Default: box-iconĭefined(): Defines the Element in the custom element registry using either the tagName provided on input or the (default) the one defined on the Class.ĬdnUrl: property that holds the URL that will be used to retrieve the images. TagName: property that holds the HTML element tag name. The Custom Element class ( BoxIconElement) exposes the following static members: Pull: one of the following values: left, right Rotate: one of the following values: 90, 180, 270įlip: one of the following values: horizontal, verticalīorder: one of the following values: square, circleĪnimation: One of the following values: spin, tada, flashing, burst, fade-left, fade-right, spin-hover, tada-hover, flashing-hover, burst-hover, fade-left-hover, fade-right-hover One of the following shortcuts: xs, sm, md, lg.Name : (REQUIRED) the name of the icon to be displayed
Type: Should always be first and be one of the following values: regular, solid, logo