How to use the @fortawesome/fontawesome-svg-core.dom.i2svg function in @fortawesome/fontawesome-svg-core

To help you get started, we’ve selected a few @fortawesome/fontawesome-svg-core examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github Kovah / LinkAce / resources / assets / js / fontawesome.js View on Github external
library.add(faTripadvisor);
  library.add(faTumblr);
  library.add(faTwitch);
  library.add(faTwitter);
  library.add(faVimeo);
  library.add(faWeibo);
  library.add(faWikipediaW);
  library.add(faWordpress);
  library.add(faWordpressSimple);
  library.add(faXbox);
  library.add(faXing);
  library.add(faYahoo);
  library.add(faYelp);
  library.add(faYoutube);

  dom.i2svg();
}
github kaishuu0123 / rebacklogs / app / javascript / packs / application.js View on Github external
import { faArrowDown } from '@fortawesome/free-solid-svg-icons/faArrowDown';
import { faClock } from '@fortawesome/free-solid-svg-icons/faClock';
import { faPaperclip } from '@fortawesome/free-solid-svg-icons/faPaperclip'

import { faMarkdown } from '@fortawesome/free-brands-svg-icons/faMarkdown'

library.add(
  faPlusCircle, faInfoCircle, faInfo, faCheck, faBan,
  faAngleRight, faPen, faDoorOpen, faTimes, faTrashAlt, faComment,
  faSquare, faAngleDoubleLeft, faCog, faUsers, faUser, faUserFriends,
  faColumns, faBorderAll, faBorderNone, faWrench, faGhost,
  faArrowRight, faArrowDown, faClock, faPaperclip,
  faMarkdown
);

dom.i2svg();

import '../stylesheets/application.scss'

import 'bootstrap/js/dist/collapse'
import 'bootstrap/js/dist/dropdown'
import 'bootstrap/js/dist/tooltip'
import '../src/sb-admin-2.js'

$(function () {
  $('[data-toggle="tooltip"]').tooltip()
})

import toastr from 'toastr'

toastr.options = {
  "closeButton": false,
github Kovah / LinkAce / assets / _js / fontawesome.js View on Github external
export function initFontAwesome () {
  library.add(faFolder);
  library.add(faSave);
  library.add(faArchive);
  library.add(faBoxOpen);
  library.add(faStickyNote);
  library.add(faSearch);
  library.add(faShareAlt);
  library.add(faUnlock);
  library.add(faUser);
  library.add(faCheckCircle);

  library.add(faGithub);
  library.add(faTwitter);

  dom.i2svg();
}
github ilios / frontend / app / components / html-editor.js View on Github external
next(() => {
      dom.i2svg({node: this.element});
    });
  },