Image library
The setting field type Image
Arguments
Name
Type
Value
Description
type
string
image
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
object
(optional)
[{
thumbnail: string,
value: string,
name: string
}]
options
object
(optional)
{
multiple: boolean (default false),
layout: string (grid|list)
}
on
object
(optional)
Add listener events for setting field (Supported all event )
Code example
How it works
Last updated