<?php require_once '../include/header.php'; require_once '../lib/Kendo/Autoload.php'; $numeric = new \Kendo\UI\NumericTextBox('numerictextbox'); $numeric->change('onChange')->spin('onSpin'); ?> <div class="demo-section"> <?php echo $numeric->render(); ?> </div> <div class="demo-section"> <h3 class="title">Console log</h3> <div class="console"></div> </div> <script> function onChange() { kendoConsole.log("Change :: " + this.value()); } function onSpin() { kendoConsole.log("Spin :: " + this.value()); } </script> <style scoped> .demo-section { width: 500px; text-align: center;
$custom->format('#.00 kg')->value(2); ?> <div id="add-product"> <div> <?php echo $currency->render(); ?> </div> <div style="margin-top: 7px;"> <?php echo $percentage->render(); ?> </div> <div style="margin-top: 7px;"> <?php echo $custom->render(); ?> </div> <div style="margin-top: 7px;"> <?php echo $numeric->render(); ?> </div> </div> <style scoped> #add-product { height: 181px; width: 252px; margin: 30px auto; padding: 64px 0 0 143px; background: url('../content/web/numerictextbox/addProduct.png') transparent no-repeat 0 0;