Create New Item
Item Type
File
Folder
Item Name
Search file in folder and subfolders...
Are you sure want to rename?
firepot
/
themes
/
momota
/
lib
/
colibriwp
/
src
/
Customizer
/
Controls
:
SelectIconControl.php
Advanced Search
Upload
New Item
Settings
Back
Back Up
Advanced Editor
Save
<?php namespace ColibriWP\Theme\Customizer\Controls; use ColibriWP\Theme\Core\Utils; class SelectIconControl extends VueControl { public $type = 'colibri-select-icon'; public static function sanitize( $value, $control_data, $default = '' ) { return Utils::sanitizeSelectControl( $control_data, $value ); } protected function printVueContent() { ?> <select-with-icon slot="control" :value="value" @change="setValue($event)" :items="options" ></select-with-icon> <?php } }