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) • 461 B
JavaScript
;
/**
* @ngdoc directive
* @name angular-timeline.directive:timeline-footer
* @restrict AE
*
* @description
* Optional element to add a footer section to the `timeline-panel` for links or other actions.
*/
angular.module('angular-timeline').directive('timelineFooter', function() {
return {
require: '^timelinePanel',
restrict: 'AE',
transclude: true,
template: '<div class="timeline-footer" ng-transclude></div>'
};
});