-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path46-es5.987b1cf74d2d4e49317e.js
1 lines (1 loc) · 1.96 KB
/
46-es5.987b1cf74d2d4e49317e.js
1
!function(){function e(e,n){if(!(e instanceof n))throw new TypeError("Cannot call a class as a function")}(window.webpackJsonp=window.webpackJsonp||[]).push([[46],{"55pB":function(n,t,c){"use strict";c.r(t),c.d(t,"CdkOverlayBasicExample",function(){return O}),c.d(t,"CdkOverlayExamplesModule",function(){return a});var i=c("fXoL"),r=c("rDax");function o(e,n){1&e&&(Object(i.ec)(0,"ul",3),Object(i.ec)(1,"li"),Object(i.Sc)(2,"Item 1"),Object(i.dc)(),Object(i.ec)(3,"li"),Object(i.Sc)(4,"Item 2"),Object(i.dc)(),Object(i.ec)(5,"li"),Object(i.Sc)(6,"Item 3"),Object(i.dc)(),Object(i.dc)())}var O=function(){var n=function n(){e(this,n),this.isOpen=!1};return n.\u0275fac=function(e){return new(e||n)},n.\u0275cmp=Object(i.Sb)({type:n,selectors:[["cdk-overlay-basic-example"]],decls:4,vars:3,consts:[["type","button","cdkOverlayOrigin","",3,"click"],["trigger","cdkOverlayOrigin"],["cdkConnectedOverlay","",3,"cdkConnectedOverlayOrigin","cdkConnectedOverlayOpen"],[1,"example-list"]],template:function(e,n){if(1&e&&(Object(i.ec)(0,"button",0,1),Object(i.lc)("click",function(){return n.isOpen=!n.isOpen}),Object(i.Sc)(2),Object(i.dc)(),Object(i.Qc)(3,o,7,0,"ng-template",2)),2&e){var t=Object(i.Cc)(1);Object(i.Mb)(2),Object(i.Uc)(" ",n.isOpen?"Close":"Open","\n"),Object(i.Mb)(1),Object(i.vc)("cdkConnectedOverlayOrigin",t)("cdkConnectedOverlayOpen",n.isOpen)}},directives:[r.b,r.a],styles:[".example-list[_ngcontent-%COMP%] {\n width: 100px;\n border: solid 1px #ccc;\n border-radius: 5px;\n background: #fff;\n text-align: center;\n padding: 10px;\n margin: 0;\n}\n\n.example-list[_ngcontent-%COMP%] > li[_ngcontent-%COMP%] {\n list-style-type: none;\n border-bottom: solid 1px #8b8b8b;\n padding: 8px 0;\n}\n\n.example-list[_ngcontent-%COMP%] > li[_ngcontent-%COMP%]:last-child {\n border-bottom: none;\n}"]}),n}(),a=function(){var n=function n(){e(this,n)};return n.\u0275mod=Object(i.Wb)({type:n}),n.\u0275inj=Object(i.Vb)({factory:function(e){return new(e||n)},imports:[[r.f]]}),n}()}}])}();