Skip to content

Instantly share code, notes, and snippets.

Marc Krisnanto marckris

Block or report user

Report or block marckris

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
marckris / b-icon.js
Last active Dec 31, 2019
Using SVG icons
View b-icon.js
customElements.define ("b-icon", class extends HTMLElement
static get observedAttributes ()
return ["name", "color", "size"]
_set_icon ()
let name = this.getAttribute ("name")
You can’t perform that action at this time.