UNPKG

@aurodesignsystem/auro-hyperlink

Version:
22 lines (17 loc) 502 B
import { AuroHyperlink } from '../src/auro-hyperlink.js'; AuroHyperlink.register(); AuroHyperlink.register('custom-hyperlink'); function initHyperlinkIndexExamples(initCount) { initCount = initCount || 0; try { // init } catch { if (initCount <= 20) { // setTimeout handles issue where content is sometimes loaded after the functions get called setTimeout(() => { initHyperlinkIndexExamples(initCount + 1); }, 100); } } } initHyperlinkIndexExamples();