PATH:
home
/
lab2454c
/
fcxpro.com
/
wp-content
/
plugins
/
custom-twitter-feeds
/
inc
/
Builder
/
Controls
<?php /** * Customizer Builder * Toggle Buttons * * @since 2.0 */ namespace TwitterFeed\Builder\Controls; if(!defined('ABSPATH')) exit; class SB_Togglebutton_Control extends SB_Controls_Base{ /** * Get control type. * * Getting the Control Type * * @since 2.0 * @access public * * @return string */ public function get_type(){ return 'togglebutton'; } /** * Output Control * * * @since 2.0 * @access public * * @return HTML */ public function get_control_output($controlEditingTypeModel){ ?> <div class="sb-control-togglebutton-ctn ctf-fb-fs"> <div class="sb-control-togglebutton-elm ctf-fb-fs sb-tr-1" v-for="toggle in control.options" :data-active="<?php echo $controlEditingTypeModel ?>[control.id] == toggle.value" v-show="toggle.condition != undefined ? checkControlCondition(toggle.condition) : true" @click.prevent.default="changeSettingValue(control.id,toggle.value, true)" > {{toggle.label}} </div> </div> <?php } }
[-] SB_Customview_Control.php
[edit]
[-] SB_Toggle_Control.php
[edit]
[-] SB_Coloroverride_Control.php
[edit]
[-] SB_Select_Control.php
[edit]
[+]
..
[-] SB_Colorpicker_Control.php
[edit]
[-] SB_Heading_Control.php
[edit]
[-] SB_Switcher_Control.php
[edit]
[-] SB_Controls_Base.php
[edit]
[-] SB_Toggleset_Control.php
[edit]
[-] SB_Checkbox_Control.php
[edit]
[-] SB_Separator_Control.php
[edit]
[-] SB_Imagechooser_Control.php
[edit]
[-] SB_Checkboxlist_Control.php
[edit]
[-] SB_Checkboxsection_Control.php
[edit]
[-] SB_Togglebutton_Control.php
[edit]
[-] SB_Hidden_Control.php
[edit]
[-] SB_Notice_Control.php
[edit]
[-] SB_Number_Control.php
[edit]
[-] SB_Text_Control.php
[edit]
[-] SB_Datepicker_Control.php
[edit]
[-] SB_Textarea_Control.php
[edit]
[-] SB_Actionbutton_Control.php
[edit]