Back to all examples
PHP
<?php
require_once '../lib/Kendo/Autoload.php';

$switch = new \Kendo\UI\SwitchButton('switch');
?>

<div class="demo-section k-rtl k-content">
    <div>
        <?php echo $switch->render(); ?>
    </div>
</div>