Skip to content

navybits:bootstrap-icon-picker is a simple wrapper on bootstrap-iconpicker that supports fontawsome icons picker packaged for Meteor Usage.

License

Notifications You must be signed in to change notification settings

Navybits/bootstrap-iconpicker

Repository files navigation

navybits:bootstrap-iconpicker


navybits:bootstrap-iconpicker is a simple wrapper on bootstrap-iconpicker that supports fontawsome icons picker packaged for Meteor Usage.

Dependencies

  • jquery
  • twbs:bootstrap

Installation

meteor add navybits:bootstrap-iconpicker

Use

  1. Inside your template, for example myIconPickerTemplate.html :
<template name="myIconPickerTemplate">
<button class="btn btn-default" data-iconset="fontawesome" data-icon="fa-globe" role="iconpicker"></button>
</template>
  1. In your template controller, for example myIconPickerTemplate.js:
Template.myIconPickerTemplate.rendered = function() {
  $('button[role="iconpicker"]').iconpicker();
  }
Template.myIconPickerTemplate.events({
  'change button[role="iconpicker"]':function (e) {
    console.log(e.icon);
  }
  });

Version

1.0.0

License

MIT

About

navybits:bootstrap-icon-picker is a simple wrapper on bootstrap-iconpicker that supports fontawsome icons picker packaged for Meteor Usage.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published