summaryrefslogtreecommitdiffstats
path: root/vnfmarket/src/main/webapp/vnfmarket/common/thirdparty/angular-material/modules/closure/showHide/showHide.min.js
blob: 55e991e48132e8ae0f09823f47d2d6506ec9afec (plain)
1
2
3
4
5
6
7
/*!
 * Angular Material Design
 * https://github.com/angular/material
 * @license MIT
 * v1.1.2-master-a9ba340
 */
function createDirective(e,i){return["$mdUtil","$window",function(n,t){return{restrict:"A",multiElement:!0,link:function(o,r,a){var c=o.$on("$md-resize-enable",function(){c();var d=r[0],m=d.nodeType===t.Node.ELEMENT_NODE?t.getComputedStyle(d):{};o.$watch(a[e],function(e){if(!!e===i){n.nextTick(function(){o.$broadcast("$md-resize")});var t={cachedTransitionStyles:m};n.dom.animator.waitTransitionEnd(r,t).then(function(){o.$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");