Icon picker

The setting field type Icon Picker

Arguments

Name

Type

Value

Description

type

string

icon_picker

The type of setting

name

string

{field_name}

The unique name will be used in template

label

string

(optional)

The label that appears above of the setting field.

description

string

(optional)

The description that appears above under of the setting field.

tooltip

string

(optional)

The long description that appears on the tooltip when hover on.

value

string

(optional)

The default value will be used for the first time.

options

object

(optional)

{

vendor: "css_line_icon", //Enter the vendor key

ext_class:"lni" //string (extra classname)

}

Code example

@schema
{
	"name"		: "Icon Picker",
	"author"	: "LayoutHub",
	"website"	: "https://www.LayoutHub.com",
	"vendors"	: ["css_line_icon"]
}
@endschema


<div class="sample-demo">
	<i :class="settings.my_icon" style="font-size: 30px;"></i>
</div>

How it works

Last updated