From b9b807ca4a9b0671d3086186a745724335654fac Mon Sep 17 00:00:00 2001
From: "Christopher S. Case"
uibDirectiveConfig. The service's settings use camel case. The services can be configured in a .config function for example.
Anno Domini or Before Christ
$scope.date = new Date();
});
-
+
Datepicker
@@ -1831,7 +1802,7 @@ Number of columns displayed in year selection.
}
});
-
+
Datepicker Popup
@@ -2279,7 +2250,7 @@ The format for displayed dates. This string can take string literals by surround
}
});
-
+
Dropdown
@@ -2288,7 +2259,7 @@ The format for displayed dates. This string can take string literals by surround
-
+
@@ -2739,7 +2710,7 @@ Class to apply when the dropdown is open.
$scope.appendToEl = angular.element(document.querySelector('#dropdown-long-content'));
});
-
+
Modal
@@ -3023,7 +2994,7 @@ Also, the $close and $dismiss methods returns true if
$ctrl.animationsEnabled = true;
$ctrl.open = function (size, parentSelector) {
- var parentElem = parentSelector ?
+ var parentElem = parentSelector ?
angular.element($document[0].querySelector('.modal-demo ' + parentSelector)) : undefined;
var modalInstance = $uibModal.open({
animation: $ctrl.animationsEnabled,
@@ -3074,7 +3045,7 @@ Also, the $close and $dismiss methods returns true if
templateUrl: 'stackedModal.html',
size: 'sm',
controller: function($scope) {
- $scope.name = 'bottom';
+ $scope.name = 'bottom';
}
});
@@ -3085,7 +3056,7 @@ Also, the $close and $dismiss methods returns true if
templateUrl: 'stackedModal.html',
size: 'sm',
controller: function($scope) {
- $scope.name = 'top';
+ $scope.name = 'top';
}
});
};
@@ -3156,7 +3127,7 @@ angular.module('ui.bootstrap.demo').component('modalComponent
$ctrl.animationsEnabled = true;
$ctrl.open = function (size, parentSelector) {
- var parentElem = parentSelector ?
+ var parentElem = parentSelector ?
angular.element($document[0].querySelector('.modal-demo ' + parentSelector)) : undefined;
var modalInstance = $uibModal.open({
animation: $ctrl.animationsEnabled,
@@ -3207,7 +3178,7 @@ angular.module('ui.bootstrap.demo').component('modalComponent
templateUrl: 'stackedModal.html',
size: 'sm',
controller: function($scope) {
- $scope.name = 'bottom';
+ $scope.name = 'bottom';
}
});
@@ -3218,7 +3189,7 @@ angular.module('ui.bootstrap.demo').component('modalComponent
templateUrl: 'stackedModal.html',
size: 'sm',
controller: function($scope) {
- $scope.name = 'top';
+ $scope.name = 'top';
}
});
};
@@ -3276,7 +3247,7 @@ angular.module('ui.bootstrap.demo').component('modalComponent', {
}
});
-
+
Pager
@@ -3388,7 +3359,7 @@ Total number of items in all pages.
$scope.currentPage = 4;
});
-
+
Pagination
@@ -3610,7 +3581,7 @@ Total number of items in all pages.
$scope.bigCurrentPage = 1;
});
-
+
Popover
@@ -3879,7 +3850,7 @@ Provide a set of defaults for certain tooltip and popover attributes. Currently
],
selected: 'top'
};
-
+
$scope.htmlPopover = $sce.trustAsHtml('<b style="color: red">I can</b> have <div class="label label-success">HTML</div> content');
});
@@ -3913,11 +3884,11 @@ Provide a set of defaults for certain tooltip and popover attributes. Currently
],
selected: 'top'
};
-
+
$scope.htmlPopover = $sce.trustAsHtml('I can have HTML content');
});
-
+
Position
@@ -4395,7 +4366,7 @@ The placement for the element.
$scope.elemVals.positionElements = $uibPosition.positionElements(btnEl, divEl, 'auto bottom-left');
};
});
-
+
Progressbar
@@ -4416,13 +4387,13 @@ The placement for the element.
Dynamic
{{dynamic}} / {{max}}
-
+
No animation
{{dynamic}}%
Object (changes type based on value)
{{type}} !!! Watch out !!!
-
+
Stacked
{{bar.value}}%
@@ -4536,13 +4507,13 @@ Title to use as label (for accessibility).
<hr />
<h3>Dynamic <button type="button" class="btn btn-sm btn-primary" ng-click="random()">Randomize</button></h3>
<uib-progressbar max="max" value="dynamic"><span style="color:white; white-space:nowrap;">{{dynamic}} / {{max}}</span></uib-progressbar>
-
+
<small><em>No animation</em></small>
<uib-progressbar animate="false" value="dynamic" type="success"><b>{{dynamic}}%</b></uib-progressbar>
<small><em>Object (changes type based on value)</em></small>
<uib-progressbar class="active" value="dynamic" type="{{type}}" striped="true">{{type}} <i ng-show="showWarning">!!! Watch out !!!</i></uib-progressbar>
-
+
<hr />
<h3>Stacked <button type="button" class="btn btn-sm btn-primary" ng-click="randomStacked()">Randomize</button></h3>
<uib-progress><uib-bar ng-repeat="bar in stacked track by $index" value="bar.value" type="{{bar.type}}"><span ng-hide="bar.value < 5">{{bar.value}}%</span></uib-bar></uib-progress>
@@ -4640,7 +4611,7 @@ Title to use as label (for accessibility).
$scope.randomStacked();
});
-
+
Rating
@@ -4805,7 +4776,7 @@ A variable used in the template to specify the state for unselected icons.
];
});
-
+
Tabs
@@ -5106,7 +5077,7 @@ A URL representing the location of a template to use for the tab heading.
};
});
-
+
Timepicker
@@ -5121,7 +5092,7 @@ A URL representing the location of a template to use for the tab heading.
Time is: {{mytime | date:'shortTime' }}
-
+
Hours step is:
@@ -5274,7 +5245,7 @@ Add the ability to override the template used on the component.
<pre class="alert alert-info">Time is: {{mytime | date:'shortTime' }}</pre>
- <div class="row">
+ <div class="row">
<div class="col-xs-6">
Hours step is:
<select class="form-control" ng-model="hstep" ng-options="opt for opt in options.hstep"></select>
@@ -5367,7 +5338,7 @@ Add the ability to override the template used on the component.
};
});
-
+
Tooltip
@@ -5719,7 +5690,7 @@ Provide a set of defaults for certain tooltip and popover attributes. Currently
};
});
-
+
Typeahead
@@ -6126,7 +6097,7 @@ Comprehension Angular expression (see {{buildErrorText}}
-
-
+
+
-
+
-
-
-
+
+
+
-
-
-
+
+
+
-
+
-
-
-
+
+
+
-
+
-
-
-
+
+
+
-
-
-
+
+
+
-
+
-
-
-
+
+
+
-
+
-
-
-
+
+
+
-
-
-
+
+
+
-
+
-
-
-
+
+
+
-
+
-
-
-
+
+
+
-
-
-
+
+
+
-
+
-
-
-
+
+
+
-
+
-
-
-
+
+
+
-
-
-
+
+
+
-
+
-
-
-
+
+
+
-
+
-
-
-
+
+
+
-
-
-
+
+
+
-
+
-
-
-
+
+
+
-
+
-
-
-
+
+
+
-
-
-
+
+
+
-
+
-
-
-
+
+
+
-
+
-
-
-
+
+
+
-
-
-
+
+
+
-
+
-
-
-
+
+
+
-
+
-
-
-
+
+
+
-
-
-
+
+
+
-
+
-
-
+
+
@@ -6556,19 +6527,6 @@ Comprehension Angular expression (see
-
- var _gaq = _gaq || [];
- _gaq.push(['_setAccount', 'UA-37467169-1']);
- _gaq.push(['_trackPageview']);
-
- (function() {
- var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
- ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
- var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
- })();
-
-