Sha256: 4e1f66c1538faf7a9ea66c60f2b93cabad6a6d1b9c59ae07c6fbeddcdcfc6522
Contents?: true
Size: 708 Bytes
Versions: 9
Compression:
Stored size: 708 Bytes
Contents
/** * @ngdoc directive * @name Bastion.components.directive:bstDropdown * @restrict EA * * @description * Provides a "dropdown" menu. */ angular.module('Bastion.components').directive('bstDropdown', function () { return { restrict: 'EA', replace: true, scope: { 'dropdown' : '=bstDropdown' }, templateUrl: 'components/views/bst-dropdown.html', controller: ['$scope', function ($scope) { $scope.setHover = function (item, mousein) { item.active = mousein; }; $scope.isRight = function (direction) { return direction === 'right'; }; }] }; });
Version data entries
9 entries across 9 versions & 1 rubygems