Input Field – colorpickeralpha

Input Field – colorpickeralpha

You can use the colorpickeralpha input field to allow users to select the color with rgba value. See the below example about how you can use colorpickeralpha input field.
ExampleCopy to Clipboardarray(

'type' => 'colorpickeralpha',

'heading' => esc_attr__( 'Select RGBA Color.', 'fusion-builder' ),

'description' => esc_attr__( 'This field allows you to select the color with rgba value.', 'fusion-builder' ),

'param_name' => 'rgba_color',

'value' => '',

)​x 1array(2​3  'type'        => 'colorpickeralpha',4​5  'heading'     => esc_attr__( 'Select RGBA Color.', 'fusion-builder' ),6​7  'description' => esc_attr__( 'This field allows you to select the color with rgba value.', 'fusion-builder' ),8​9  'param_name'  => 'rgba_color',10​11  'value'       => '',12​13)Parameters type
( string ) input type. heading
( string ) Setting title. description
( string ) Short description about the setting field. param_name
 ( string ) Attribute name to be used in the shortcode. value
( string ) Default color with rgba value.

发表回复

您的邮箱地址不会被公开。 必填项已用 * 标注