Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Provided: Add latest fontawesome 5 (5.14.0_pro) #94

Open
Windmolders opened this issue Sep 2, 2020 · 0 comments
Open

Provided: Add latest fontawesome 5 (5.14.0_pro) #94

Windmolders opened this issue Sep 2, 2020 · 0 comments

Comments

@Windmolders
Copy link

Code available in:
#93

Adds the latest icons from fontawesome.
I wrote a JS script that generates the array of class names from the fontawesome website:
https://gist.github.com/Windmolders/7347d1ad1407fcf4636c5d82008c17a1

How to use the 5.14.0_pro version? Take note of data-iconset-version.

<button class="btn btn-primary js-icon-pickers" data-iconset="fontawesome5" data-iconset-version="5.14.0_pro" data-icon="" role="iconpicker"></button>

Initiate your rolepicker. Data attributes will be automatically used as configuration. I use "js-" in my css classed to indicate it use that css class for javascript purposes. No styling is applied on those classes #tipoftheday.

 $('.js-icon-pickers').iconpicker();
@Windmolders Windmolders changed the title Add latest fontawesome 5 (5.14.0_pro) Provided: Add latest fontawesome 5 (5.14.0_pro) Sep 2, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant