Class cz_number_bar_ctl
Given a range of numbers and a step granularity, this control displays a slider bar (not a slideshow, but an actual bar with a thumb button) that lets the user choose a value between a given minimum and maximum. Arg Options: desc, display, label, max, min, step
- WP_Customize_Control
-
ski\cz_number_bar_ctl uses ski\cz_supplement
Author: Dan Suleski
Since: 2.0
Located at packages/ski.web/controls/ski.wp.customizer.php
Methods summary
public
|
#
enqueue( )
Queue up the scripts and styles necessary for the jQuery UI slider. Two notes: 1. The last parameter to wp_enqueue_script forces the inclusion in the
footer |
public
|
#
render_content( )
Displays a jQuery UI slider bar and optionally the current value and min/max values. |
Methods used from ski\cz_supplement
get_description_after_markup()
,
get_description_markup()
,
get_label_description_markup()
,
get_label_markup()
Magic methods summary
Properties summary
public
integer
|
$min |
#
Minimum value for the slider. |
public
string
|
$min_text |
#
Optional text to potentially display |
public
integer
|
$max |
#
Maximum value for the slider. |
public
string
|
$max_text |
#
Optional text to potentially display |
public
integer
|
$step |
#
Amount to skip for each press on the bar, outside of the thumb. |
public
string
|
$display |
#
Indicates which values should be displayed; can be 'value', 'range', 'none', or 'all' |