Files
jube-fork/Jube.App/wwwroot/kendo/examples/slider/angular.html
2022-11-04 13:24:24 +02:00

58 lines
1.8 KiB
HTML
Executable File

<!DOCTYPE html>
<html>
<head>
<title>AngularJS</title>
<meta charset="utf-8">
<link href="../content/shared/styles/examples-offline.css" rel="stylesheet">
<link href="../../styles/kendo.common.min.css" rel="stylesheet">
<link href="../../styles/kendo.rtl.min.css" rel="stylesheet">
<link href="../../styles/kendo.default.min.css" rel="stylesheet">
<link href="../../styles/kendo.default.mobile.min.css" rel="stylesheet">
<script src="../../js/jquery.min.js"></script>
<script src="../../js/jszip.min.js"></script>
<script src="../../js/angular.min.js"></script>
<script src="../../js/kendo.all.min.js"></script>
<script src="../content/shared/js/console.js"></script>
<script>
</script>
</head>
<body>
<a class="offline-button" href="../index.html">Back</a>
<div id="example" ng-app="KendoDemos">
<div class="demo-section k-content" ng-controller="MyCtrl">
<div style="position: relative; width: 200px; height: 200px; overflow: visible; margin: 0 auto 20px;">
<input kendo-slider ng-model="width" k-tooltip="{ enabled: false }"
style="position: absolute; left: 25px; bottom: 0; width: 170px;" />
<input kendo-slider ng-model="height" k-tooltip="{ enabled: false }" k-orientation="'vertical'"
style="position: absolute; bottom: 25px; left: 0; height: 170px;" />
<img style="position: absolute; left: 60px; bottom: 60px;
width: {{50 + width * 10}}px;
height: {{50 + height * 10}}px;"
src="../content/shared/images/foods/200/72.jpg" />
</div>
</div>
</div>
<script>
angular.module("KendoDemos", [ "kendo.directives" ])
.controller("MyCtrl", function($scope){
$scope.width = 0;
$scope.height = 0;
})
</script>
</body>
</html>