SheetXL - v1.0.2
    Preparing search index...

    Function createDynamicIconService

    • Returns {
          addActiveListener: (cb: (key: string) => void) => RemoveListener;
          getActive: () => string;
          getPack: (packKey?: string) => IconPack | undefined;
          has: (key: string, o?: ResolveOptions) => boolean;
          hasPack: (packKey: string) => boolean;
          listIcons: (packKey: string) => string[];
          listPacks: () => string[];
          prefetch: (keys?: string | string[]) => Promise<void>;
          register: (
              key: string,
              packOrLoader: IconPack | IconPackInput | PackLoader,
          ) => void;
          registerAlias: (packKey: string, fromKey: string, toKey: string) => void;
          resolve: (
              key: string,
              o?: ResolveOptions,
          ) => Promise<IconGlyphPackPair | null>;
          setActive: (packKey: string) => void;
      }

      • addActiveListener: (cb: (key: string) => void) => RemoveListener
      • getActive: () => string
      • getPack: (packKey?: string) => IconPack | undefined
      • has: (key: string, o?: ResolveOptions) => boolean
      • hasPack: (packKey: string) => boolean
      • listIcons: (packKey: string) => string[]
      • listPacks: () => string[]
      • prefetch: (keys?: string | string[]) => Promise<void>
      • register: (key: string, packOrLoader: IconPack | IconPackInput | PackLoader) => void
      • registerAlias: (packKey: string, fromKey: string, toKey: string) => void
      • resolve: (key: string, o?: ResolveOptions) => Promise<IconGlyphPackPair | null>
      • setActive: (packKey: string) => void