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:
897 bytes
|
Line | |
---|
1 | /*!
|
---|
2 | * AngularJS Material Design
|
---|
3 | * https://github.com/angular/material
|
---|
4 | * @license MIT
|
---|
5 | * v1.2.2-master-0a06f99
|
---|
6 | */
|
---|
7 | function createDirective(d,m){return["$mdUtil","$window",function(a,c){return{restrict:"A",multiElement:!0,link:function(t,o,i){var r=t.$on("$md-resize-enable",function(){r();var e=o[0],n=e.nodeType===c.Node.ELEMENT_NODE?c.getComputedStyle(e):{};t.$watch(i[d],function(e){if(!!e===m){a.nextTick(function(){t.$broadcast("$md-resize")});var i={cachedTransitionStyles:n};a.dom.animator.waitTransitionEnd(o,i).then(function(){t.$broadcast("$md-resize")})}})})}}}]}goog.provide("ngmaterial.components.showHide"),goog.require("ngmaterial.core"),angular.module("material.components.showHide",["material.core"]).directive("ngShow",createDirective("ngShow",!0)).directive("ngHide",createDirective("ngHide",!1)),ngmaterial.components.showHide=angular.module("material.components.showHide"); |
---|
Note:
See
TracBrowser
for help on using the repository browser.