Created
August 10, 2018 09:46
-
-
Save shrimp2t/4a72a303df1e05aa2816e4f83cacddfc to your computer and use it in GitHub Desktop.
Get semantic ui icons. Go to https://semantic-ui.com/elements/icon.html paste this code to console.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var icons = []; | |
$('.icon.example').each( function( ) { | |
var group = $( this ); | |
$( '.column > i', group ).each( function(){ | |
var icon = $(this).attr('class') || ''; | |
icons.push( icon ); | |
} ); | |
} ); | |
console.log( icons.join(',') ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment