import { Build, Component, Element, Host, Prop, State, Watch, h } from '@stencil/core'; import { getSvgContent, ioniconContent } from './request'; import { getName, getUrl } from './utils'; export class Icon { constructor() { this.iconName = null; this.isVisible = false; /** * The mode determines which platform styles to use. */ this.mode = getIonMode(); /** * If enabled, ion-icon will be loaded lazily when it's visible in the viewport. * Default, `false`. */ this.lazy = false; /** * When set to `false`, SVG content that is HTTP fetched will not be checked * if the response SVG content has any `