UNPKG

jqwidgets-framework

Version:

jQWidgets is an advanced Angular, Vue, Blazor, React, Web Components, jquery, ASP .NET MVC, Custom Elements and HTML5 UI framework.

39 lines (38 loc) 1.67 kB
<!DOCTYPE html> <html ng-app="demoApp"> <head> <link rel="stylesheet" type="text/css" href="../../jqwidgets/styles/jqx.base.css" /> <link rel="stylesheet" type="text/css" href="../../jqwidgets/styles/jqx.darkblue.css" /> <script type="text/javascript" src="../../scripts/angular.min.js"></script> <script type="text/javascript" src="../../scripts/jquery-1.11.1.min.js"></script> <script type="text/javascript" src="../../jqwidgets/jqxcore.js"></script> <script type="text/javascript" src="../../jqwidgets/jqxbuttons.js"></script> <script type="text/javascript" src="../../jqwidgets/jqxwindow.js"></script> <script type="text/javascript" src="../../jqwidgets/jqxangular.js"></script> <script type="text/javascript"> var DemoApp = angular.module("demoApp", ["jqwidgets"]); DemoApp.controller("MainController", ['$scope', function($scope) { $scope.width = 100; $scope.height = 50; $scope.buttonText = "Click to Resize"; $scope.resize = function () { $scope.width = 150; $scope.height = 75; $scope.buttonText = "Resized"; }; $scope.windowTitle = "My Title"; $scope.windowSettings = { height: 200, created: function () { var instance = $scope.instance; } } $scope.instance = {}; }]); </script> </head> <body ng-controller="MainController"> <ng-include src="'nginclude-page.htm'"></ng-include> </body> </html>