source: trip-planner-front/node_modules/angular-material/modules/js/fabTrigger/fabTrigger.js@ 6a3a178

Last change on this file since 6a3a178 was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago

initial commit

  • Property mode set to 100644
File size: 1.1 KB
Line 
1/*!
2 * Angular Material Design
3 * https://github.com/angular/material
4 * @license MIT
5 * v1.1.0-rc.5-master-26a5fb8
6 */
7(function( window, angular, undefined ){
8"use strict";
9
10(function() {
11 'use strict';
12
13 /**
14 * @ngdoc module
15 * @name material.components.fabTrigger
16 */
17 angular
18 .module('material.components.fabTrigger', ['material.core'])
19 .directive('mdFabTrigger', MdFabTriggerDirective);
20
21 /**
22 * @ngdoc directive
23 * @name mdFabTrigger
24 * @module material.components.fabSpeedDial
25 *
26 * @restrict E
27 *
28 * @description
29 * The `<md-fab-trigger>` directive is used inside of a `<md-fab-speed-dial>` or
30 * `<md-fab-toolbar>` directive to mark an element (or elements) as the trigger and setup the
31 * proper event listeners.
32 *
33 * @usage
34 * See the `<md-fab-speed-dial>` or `<md-fab-toolbar>` directives for example usage.
35 */
36 function MdFabTriggerDirective() {
37 // TODO: Remove this completely?
38 return {
39 restrict: 'E',
40
41 require: ['^?mdFabSpeedDial', '^?mdFabToolbar']
42 };
43 }
44})();
45
46
47})(window, window.angular);
Note: See TracBrowser for help on using the repository browser.