Skip to content

Latest commit

 

History

History
33 lines (26 loc) · 893 Bytes

README.md

File metadata and controls

33 lines (26 loc) · 893 Bytes

FAIconFieldType

Field Usage -

	icon:
  		type: faiconpicker

To change the placement use ´placement´ and to hide the field (for the inline picker for example) use ´hidden´.

	icon:
  		type: faiconpicker
  		placement: inline
  		hidden: true

Font customisation.

	icon:
  		type: faiconpicker
  		default: fa-adn # Choose the default selected icon.
  		component: false # true|false => Add a component to the left of the input and display the selected icon.
  		icon_root_class: fa # custom the root class for icon, allow use of others fonts, not only FA.
  		configs:
  			icons: ["fa-adjust", "fa-adn", "fa-align-center"] # limit to a set of icons
  			... # options available from the library.

For more options to use in configs, see mjolnic/fontawesome-iconpicker.