All Projects → itsjavi → Fontawesome Iconpicker

itsjavi / Fontawesome Iconpicker

Licence: mit
Font Awesome Icon Picker component for Bootstrap.

Programming Languages

javascript
184084 projects - #8 most used programming language
js
455 projects

Projects that are alternatives of or similar to Fontawesome Iconpicker

Bootstrapcdn
Free Bootstrap CDN hosting
Stars: ✭ 1,075 (+107.13%)
Mutual labels:  font, fontawesome, bootstrap
Yii2 Widget Rating
A Yii2 widget for the simple yet powerful bootstrap-star-rating plugin with fractional rating support (sub repo split from yii2-widgets)
Stars: ✭ 47 (-90.94%)
Mutual labels:  font, bootstrap
Alfred Font Awesome Workflow
🎩 Font Awesome workflow for Alfred
Stars: ✭ 714 (+37.57%)
Mutual labels:  font, fontawesome
React Typescript Web Extension Starter
🖥 A Web Extension starter kit built with React, TypeScript, SCSS, Storybook, Jest, EsLint, Prettier, Webpack and Bootstrap. Supports Google Chrome + Mozilla Firefox + Brave Browser 🔥
Stars: ✭ 510 (-1.73%)
Mutual labels:  chrome-extension, bootstrap
Redmine bootstrap kit
A Redmine plugin which makes developing your own Redmine plugin easy ;)
Stars: ✭ 36 (-93.06%)
Mutual labels:  fontawesome, bootstrap
Font Awesome
The iconic SVG, font, and CSS toolkit
Stars: ✭ 66,937 (+12797.3%)
Mutual labels:  font, fontawesome
Font Awesome Php
A PHP library for Font Awesome 4.7.
Stars: ✭ 47 (-90.94%)
Mutual labels:  font, fontawesome
Bootstrap Simple Admin Template
The most reliable HTML, CSS, and JavaScript simple admin template for developing responsive, mobile first web applications on the web.
Stars: ✭ 92 (-82.27%)
Mutual labels:  fontawesome, bootstrap
Avfonts
AVFonts for change/swap fontname throughout app.
Stars: ✭ 200 (-61.46%)
Mutual labels:  font, fontawesome
Yii2 Fontawesome
Asset Bundle for Yii2 with Font Awesome http://fortawesome.github.io/Font-Awesome/
Stars: ✭ 149 (-71.29%)
Mutual labels:  font, fontawesome
Font Awesome Stylus
Stylus port for font-awesome 4.7.0
Stars: ✭ 77 (-85.16%)
Mutual labels:  font, fontawesome
FMX.FontAwesome
[FireMonkey] FontAwesome
Stars: ✭ 21 (-95.95%)
Mutual labels:  font, fontawesome
rofi-fontawesome
fontawesome icon list for rofi dmenu
Stars: ✭ 58 (-88.82%)
Mutual labels:  font, fontawesome
Keditor
KEditor is a jQuery plugin which provides a content editor with drag n drop, configurable contents
Stars: ✭ 261 (-49.71%)
Mutual labels:  fontawesome, bootstrap
Sketch Sf Ui Font Fixer
A Sketch plugin that adjusts the character spacing on text layers using iOS 9's SF UI Text/SF UI Display fonts to what it would be when used in an iOS app.
Stars: ✭ 492 (-5.2%)
Mutual labels:  font
Vue Perf Devtool
Vue Performance Devtool is a browser extension for inspecting the performance of Vue Components.
Stars: ✭ 510 (-1.73%)
Mutual labels:  chrome-extension
Awesome React Bootstrap Components
⚛️ React.js components made using 🅱️ Bootstrap
Stars: ✭ 490 (-5.59%)
Mutual labels:  bootstrap
Guns Lite
基于spring boot脚手架项目,spring data jpa+Spring Boot2+bootstrap完整的后台管理系统
Stars: ✭ 491 (-5.39%)
Mutual labels:  bootstrap
Hls Downloader Web Extension
Web Extension for sniffing and downloading HTTP Live streams (HLS)
Stars: ✭ 510 (-1.73%)
Mutual labels:  chrome-extension
Shop
基于Spring-boot和bootstrap搭建的商城系统
Stars: ✭ 506 (-2.5%)
Mutual labels:  bootstrap

fontawesome-iconpicker

npm

Font Awesome Icon Picker is a fully customizable plugin for Twitter Bootstrap, with a powerful base API, based on bootstrap-popover-picker

You can use Font Awesome 5 or another font icon set of your choice (icon list is totally customizable).

View demos

Instantiation

You can call the plugin in several ways:

// Create instance if not exists (returns a jQuery object)
$('.my').iconpicker();
$('.my').iconpicker({ /*options*/ }); // you can also specify options via data-* attributes

// For the first matched element, access to a plugin property value
$('.my').data('iconpicker').iconpickerProperty;

// For the first matched element, call a plugin instance method with the given args
$('.my').data('iconpicker').iconpickerMethod('methodArg1', 'methodArg2' /* , other args */);

// Call and apply a plugin method to EACH matched element.
$.iconpicker.batch('.my', 'iconpickerMethod', 'methodArg1', 'methodArg2' /* , other args */); ->

Triggered Events

All of them exposes the plugin instance through event.iconpickerInstance

In order of call:

  • iconpickerCreate
  • iconpickerCreated
  • iconpickerShow
  • iconpickerShown
  • iconpickerSelect (also exposes event.iconpickerItem and event.iconpickerValue)
  • iconpickerUpdate
  • iconpickerInvalid (also exposes event.iconpickerValue)
  • iconpickerSetValue (also exposes event.iconpickerValue)
  • iconpickerSetSourceValue (also exposes event.iconpickerValue)
  • iconpickerUpdated
  • iconpickerSelected (also exposes event.iconpickerItem and event.iconpickerValue)
  • iconpickerHide
  • iconpickerHidden
  • iconpickerDestroy
  • iconpickerDestroyed
// Bind iconpicker events to the element
$('.my').on('iconpickerSelected', function(event){
  /* event.iconpickerValue */
});

Popover placement extensions

This plugin comes with more placement options than the original Bootstrap Popover. Here are all the possibilities in detail:

        1 2 3 4 5
        G       6
        F       7
        E       8
        D C B A 9

0.      inline (no placement, display as inline-block)
1.      topLeftCorner
2.      topLeft
3.      top (center)
4.      topRight
5.      topRightCorner
6.      rightTop
7.      right (center)
8.      rightBottom
9.      bottomRightCorner
A.      bottomRight
B.      bottom (center)
C.      bottomLeft
D.      bottomLeftCorner
E.      leftBottom
F.      left (center)
G.      leftTop

Available options

var options = {
    title: false, // Popover title (optional) only if specified in the template
    selected: false, // use this value as the current item and ignore the original
    defaultValue: false, // use this value as the current item if input or element value is empty
    placement: 'bottom', // (has some issues with auto and CSS). auto, top, bottom, left, right
    collision: 'none', // If true, the popover will be repositioned to another position when collapses with the window borders
    animation: true, // fade in/out on show/hide ?
    //hide iconpicker automatically when a value is picked. it is ignored if mustAccept is not false and the accept button is visible
    hideOnSelect: false,
    showFooter: false,
    searchInFooter: false, // If true, the search will be added to the footer instead of the title
    mustAccept: false, // only applicable when there's an iconpicker-btn-accept button in the popover footer
    selectedCustomClass: 'bg-primary', // Appends this class when to the selected item
    icons: [], // list of icon objects [{title:String, searchTerms:String}]. By default, all Font Awesome icons are included.
    fullClassFormatter: function(val) {
        return 'fa ' + val;
    },
    input: 'input,.iconpicker-input', // children input selector
    inputSearch: false, // use the input as a search box too?
    container: false, //  Appends the popover to a specific element. If not set, the selected element or element parent is used
    component: '.input-group-addon,.iconpicker-component', // children component jQuery selector or object, relative to the container element
    // Plugin templates:
    templates: {
        popover: '<div class="iconpicker-popover popover"><div class="arrow"></div>' +
            '<div class="popover-title"></div><div class="popover-content"></div></div>',
        footer: '<div class="popover-footer"></div>',
        buttons: '<button class="iconpicker-btn iconpicker-btn-cancel btn btn-default btn-sm">Cancel</button>' +
            ' <button class="iconpicker-btn iconpicker-btn-accept btn btn-primary btn-sm">Accept</button>',
        search: '<input type="search" class="form-control iconpicker-search" placeholder="Type to filter" />',
        iconpicker: '<div class="iconpicker"><div class="iconpicker-items"></div></div>',
        iconpickerItem: '<a role="button"  class="iconpicker-item"><i></i></a>',
    }
};
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].