2020-05-19 11:43:42 +03:00

7 lines
740 B
JavaScript

/*!
* AngularJS Material Design
* https://github.com/angular/material
* @license MIT
* v1.1.18-master-97a1616
*/
!function(){"use strict";function n(c,u){return["$mdUtil","$window",function(a,d){return{restrict:"A",multiElement:!0,link:function(t,o,e){var r=t.$on("$md-resize-enable",function(){r();var n=o[0],i=n.nodeType===d.Node.ELEMENT_NODE?d.getComputedStyle(n):{};t.$watch(e[c],function(n){if(!!n===u){a.nextTick(function(){t.$broadcast("$md-resize")});var e={cachedTransitionStyles:i};a.dom.animator.waitTransitionEnd(o,e).then(function(){t.$broadcast("$md-resize")})}})})}}}]}window.angular.module("material.components.showHide",["material.core"]).directive("ngShow",n("ngShow",!0)).directive("ngHide",n("ngHide",!1))}(window);