Sha256: 863ad3c0176c3e137ff1c2f3268d708cc83330eae801d1bc3bb2771b4c874585

Contents?: true

Size: 707 Bytes

Versions: 248

Compression:

Stored size: 707 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

248 entries across 248 versions & 2 rubygems

Version Path
katello-4.14.2 engines/bastion/app/assets/javascripts/bastion/components/bst-dropdown.directive.js
katello-4.15.0 engines/bastion/app/assets/javascripts/bastion/components/bst-dropdown.directive.js
katello-4.15.0.rc2 engines/bastion/app/assets/javascripts/bastion/components/bst-dropdown.directive.js
katello-4.15.0.rc1 engines/bastion/app/assets/javascripts/bastion/components/bst-dropdown.directive.js
katello-4.14.1 engines/bastion/app/assets/javascripts/bastion/components/bst-dropdown.directive.js
katello-4.14.0 engines/bastion/app/assets/javascripts/bastion/components/bst-dropdown.directive.js
katello-4.14.0.rc3 engines/bastion/app/assets/javascripts/bastion/components/bst-dropdown.directive.js
katello-4.14.0.rc2 engines/bastion/app/assets/javascripts/bastion/components/bst-dropdown.directive.js
katello-4.14.0.rc1.1 engines/bastion/app/assets/javascripts/bastion/components/bst-dropdown.directive.js
katello-4.14.0.rc1 engines/bastion/app/assets/javascripts/bastion/components/bst-dropdown.directive.js
katello-4.13.1 engines/bastion/app/assets/javascripts/bastion/components/bst-dropdown.directive.js
katello-4.13.0 engines/bastion/app/assets/javascripts/bastion/components/bst-dropdown.directive.js
katello-4.12.1 engines/bastion/app/assets/javascripts/bastion/components/bst-dropdown.directive.js
katello-4.13.0.rc1 engines/bastion/app/assets/javascripts/bastion/components/bst-dropdown.directive.js
katello-4.12.0 engines/bastion/app/assets/javascripts/bastion/components/bst-dropdown.directive.js
katello-4.12.0.rc3 engines/bastion/app/assets/javascripts/bastion/components/bst-dropdown.directive.js
katello-4.12.0.rc2 engines/bastion/app/assets/javascripts/bastion/components/bst-dropdown.directive.js
katello-4.12.0.rc1 engines/bastion/app/assets/javascripts/bastion/components/bst-dropdown.directive.js
katello-4.11.1 engines/bastion/app/assets/javascripts/bastion/components/bst-dropdown.directive.js
katello-4.11.0 engines/bastion/app/assets/javascripts/bastion/components/bst-dropdown.directive.js