Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jankapunkt/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.
https://github.com/jankapunkt/meteor-autoform-faicon
autoform autoform-extension blaze font fontawesome icon-classname icons meteor
Last synced: 6 days ago
JSON representation
AutoForm extension to select a font awesome icon from a list of icons. Will only save the icon classname without the `fa-` prefix.
- Host: GitHub
- URL: https://github.com/jankapunkt/meteor-autoform-faicon
- Owner: jankapunkt
- License: mit
- Created: 2018-04-18T08:56:00.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2021-03-09T20:46:20.000Z (almost 4 years ago)
- Last Synced: 2024-12-08T07:42:02.068Z (2 months ago)
- Topics: autoform, autoform-extension, blaze, font, fontawesome, icon-classname, icons, meteor
- Language: JavaScript
- Size: 16.6 KB
- Stars: 2
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README
# 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)
- only font awesome 4.7 (fa 5 will follow, including backwards compatibility)
- hrd dependency to js-yaml, will be decoupled### Usage
Define the icon type as any other AutoForm extension in your simple schema:
```javascript
{
icon: {
type: String,
label: 'List element icon',
autoform: {
type: 'faicon',
multiple: true, // Coming soon
version: 5, // Coming soon
options() {
return [/* list of icons */] // coming soon
}
},
},
}
```