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) • 447 B
JavaScript
;
/**
* @ngdoc directive
* @name angular-timeline.directive:timeline-panel
* @restrict AE
*
* @description
* An panel inside the `timeline-event` which shows detailed information about the event.
*/
angular.module('angular-timeline').directive('timelinePanel', function() {
return {
require: '^timeline',
restrict: 'AE',
transclude: true,
template: '<div class="timeline-panel" ng-transclude></div>'
};
});