Viewing File: /usr/local/cpanel/3rdparty/share/angular-ui-scroll/1.6.1/demo/rebuilding/rebuilding.html
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>Rebuilding</title>
<script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.3.14/angular.js"></script>
<script src="../../dist/ui-scroll.js"></script>
<script src="rebuilding.js" ></script>
<link rel="stylesheet" href="../css/style.css" type="text/css"/>
</head>
<body ng-controller="mainController" ng-app="application">
<div class="cont cont-global">
<a class="back" href="../index.html">browse other examples</a>
<h1 class="page-header page-header-exapmle">Multiple component rebuild</h1>
<div class="description">
This demo allows to trace memory leaks during destroy and rebuild ui-scroll component.
</div>
<div class="actions">
<div class="checkbox">
<label>
<button ng-click="switch = !switch"> {{switch ? 'Destroy' : 'Build'}} </button>
</label>
</div>
</div>
<div ng-if="switch">
<div class="viewport" id="viewport-scopeDatasource" ui-scroll-viewport>
<div class="item" ui-scroll="item in datasource">{{item}}</div>
</div>
</div>
</div>
</body>
</html>
Back to Directory
File Manager