Skip to content
This repository was archived by the owner on May 29, 2019. It is now read-only.

Commit 8899fc8

Browse files
Foxandxsswesleycho
authored andcommitted
chore(carousel): remove stale ngdocs
Closes #4736
1 parent 79367b8 commit 8899fc8

File tree

1 file changed

+0
-88
lines changed

1 file changed

+0
-88
lines changed

src/carousel/carousel.js

-88
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,3 @@
1-
/**
2-
* @ngdoc overview
3-
* @name ui.bootstrap.carousel
4-
*
5-
* @description
6-
* AngularJS version of an image carousel.
7-
*
8-
*/
91
angular.module('ui.bootstrap.carousel', [])
102

113
.controller('UibCarouselController', ['$scope', '$element', '$interval', '$animate', function($scope, $element, $interval, $animate) {
@@ -213,44 +205,6 @@ angular.module('ui.bootstrap.carousel', [])
213205

214206
}])
215207

216-
/**
217-
* @ngdoc directive
218-
* @name ui.bootstrap.carousel.directive:carousel
219-
* @restrict EA
220-
*
221-
* @description
222-
* Carousel is the outer container for a set of image 'slides' to showcase.
223-
*
224-
* @param {number=} interval The time, in milliseconds, that it will take the carousel to go to the next slide.
225-
* @param {boolean=} noTransition Whether to disable transitions on the carousel.
226-
* @param {boolean=} noPause Whether to disable pausing on the carousel (by default, the carousel interval pauses on hover).
227-
*
228-
* @example
229-
<example module="ui.bootstrap">
230-
<file name="index.html">
231-
<uib-carousel>
232-
<uib-slide>
233-
<img src="http://placekitten.com/150/150" style="margin:auto;">
234-
<div class="carousel-caption">
235-
<p>Beautiful!</p>
236-
</div>
237-
</uib-slide>
238-
<uib-slide>
239-
<img src="http://placekitten.com/100/150" style="margin:auto;">
240-
<div class="carousel-caption">
241-
<p>D'aww!</p>
242-
</div>
243-
</uib-slide>
244-
</uib-carousel>
245-
</file>
246-
<file name="demo.css">
247-
.carousel-indicators {
248-
top: auto;
249-
bottom: 15px;
250-
}
251-
</file>
252-
</example>
253-
*/
254208
.directive('uibCarousel', [function() {
255209
return {
256210
transclude: true,
@@ -270,48 +224,6 @@ angular.module('ui.bootstrap.carousel', [])
270224
};
271225
}])
272226

273-
/**
274-
* @ngdoc directive
275-
* @name ui.bootstrap.carousel.directive:slide
276-
* @restrict EA
277-
*
278-
* @description
279-
* Creates a slide inside a {@link ui.bootstrap.carousel.directive:carousel carousel}. Must be placed as a child of a carousel element.
280-
*
281-
* @param {boolean=} active Model binding, whether or not this slide is currently active.
282-
* @param {number=} index The index of the slide. The slides will be sorted by this parameter.
283-
*
284-
* @example
285-
<example module="ui.bootstrap">
286-
<file name="index.html">
287-
<div ng-controller="CarouselDemoCtrl">
288-
<uib-carousel>
289-
<uib-slide ng-repeat="slide in slides" active="slide.active" index="$index">
290-
<img ng-src="{{slide.image}}" style="margin:auto;">
291-
<div class="carousel-caption">
292-
<h4>Slide {{$index}}</h4>
293-
<p>{{slide.text}}</p>
294-
</div>
295-
</uib-slide>
296-
</uib-carousel>
297-
Interval, in milliseconds: <input type="number" ng-model="myInterval">
298-
<br />Enter a negative number to stop the interval.
299-
</div>
300-
</file>
301-
<file name="script.js">
302-
function CarouselDemoCtrl($scope) {
303-
$scope.myInterval = 5000;
304-
}
305-
</file>
306-
<file name="demo.css">
307-
.carousel-indicators {
308-
top: auto;
309-
bottom: 15px;
310-
}
311-
</file>
312-
</example>
313-
*/
314-
315227
.directive('uibSlide', function() {
316228
return {
317229
require: '^uibCarousel',

0 commit comments

Comments
 (0)