Documentation

RangeInput extends WP_Customize_Control
in package

Provide a `input[type="range"]` with additional features like value bubble.

Table of Contents

Properties

$input_attrs  : array<string|int, mixed>
Input attributes like `min`, `max`, `step`.
$type  : string
Type.
$unit  : string
Unit.

Methods

__construct()  : mixed
C'tor.
json()  : mixed
Refresh the parameters passed to the JavaScript via JSON.
render_content()  : mixed
Render empty control (no `input`!) cause it is rendered via frontend.

Properties

$input_attrs

Input attributes like `min`, `max`, `step`.

public array<string|int, mixed> $input_attrs = []

..

Methods

__construct()

C'tor.

public __construct(WP_Customize_Manager $manager, string $id[, array<string|int, mixed> $args = [] ]) : mixed
Parameters
$manager : WP_Customize_Manager
$id : string
$args : array<string|int, mixed> = []

json()

Refresh the parameters passed to the JavaScript via JSON.

public json() : mixed

render_content()

Render empty control (no `input`!) cause it is rendered via frontend.

protected render_content() : mixed
Tags
see
https://git.io/JcFCR

        
On this page

Search results