jkuester:autoform-faicon

v0.0.2Published 6 years ago

This package has not had recent updates. Please investigate it's current state before committing to using it in your project.

meteor-autoform-faicon

AutoForm extension to select a font awesome icon from a list of icons. Will only save the icon classname without the fa- prefix.

Current status

  • only single element selectable (multiple will follow soon)
  • only font awesome 4.7 (fa 5 will follow soon, including backwards compatibility)

Usage

Define the icon type as any other AutoForm extension in your simple schema:

1{
2  icon: {
3    type: String,
4    label: 'List element icon',
5    autoform: {
6      type: 'faicon',		
7      multiple: true, // Coming soon
8      version: 5,     // Coming soon
9    },
10  },
11}