UNPKG

angular-timeline

Version:

An Angular.js directive that generates a responsive, data-driven vertical timeline to tell a story, show history or describe a sequence of events.

19 lines (17 loc) 395 B
'use strict'; /** * @ngdoc directive * @name angular-timeline * @restrict AE * * @description * Primary container for displaying a vertical set of timeline events. */ angular.module('angular-timeline').directive('timeline', function() { return { restrict: 'AE', transclude: true, template: '<ul class="timeline" ng-transclude></ul>', controller: function() {} }; });