IconThemesCode - Icon Picker Macro

Page / - laatst gewijzigd door superadmin op 2021/04/24 22:17

Icon Picker Macro

laatst gewijzigd door superadmin

op 2021/04/24 22:17

Inhoudsopgave

1 Usage

1.1 Live example

1.2 Play with it

1 Usage

{{iconPicker id="" class="" prefix="" /}}

Where:

id (optional)	DOM id of the input field where the picker will apply
class (optional)	CSS class of inputs where the picker will apply
prefix (optional)	Prefix to add before the name of the icon in the input field (default: "image:icon:")

1.1 Live example

{{html}}
<p>Field 1: <input type="text" id="myPicker" /></p>
<p>Field 2: <input type="text" class="fieldWithPicker" /></p>
{{/html}}
{{iconPicker id="myPicker" class="fieldWithPicker" prefix="icon:" /}}

1.2 Play with it

Field 1:

Field 2: