-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy path1682.2079662ad66b6986.js
1 lines (1 loc) · 1.51 KB
/
1682.2079662ad66b6986.js
1
"use strict";(self.webpackChunkmaterial_angular_io=self.webpackChunkmaterial_angular_io||[]).push([[1682],{1682:(p,r,t)=>{t.r(r),t.d(r,{CdkOverlayBasicExample:()=>s});var e=t(5879),i=t(748);function o(n,c){1&n&&(e.TgZ(0,"ul",3)(1,"li"),e._uU(2,"Item 1"),e.qZA(),e.TgZ(3,"li"),e._uU(4,"Item 2"),e.qZA(),e.TgZ(5,"li"),e._uU(6,"Item 3"),e.qZA()())}let s=(()=>{class n{constructor(){this.isOpen=!1}}return n.\u0275fac=function(l){return new(l||n)},n.\u0275cmp=e.Xpm({type:n,selectors:[["cdk-overlay-basic-example"]],standalone:!0,features:[e.jDz],decls:4,vars:3,consts:[["type","button","cdkOverlayOrigin","",3,"click"],["trigger","cdkOverlayOrigin"],["cdkConnectedOverlay","",3,"cdkConnectedOverlayOrigin","cdkConnectedOverlayOpen"],[1,"example-list"]],template:function(l,a){if(1&l&&(e.TgZ(0,"button",0,1),e.NdJ("click",function(){return a.isOpen=!a.isOpen}),e._uU(2),e.qZA(),e.YNc(3,o,7,0,"ng-template",2)),2&l){const d=e.MAs(1);e.xp6(2),e.hij(" ",a.isOpen?"Close":"Open","\n"),e.xp6(1),e.Q6J("cdkConnectedOverlayOrigin",d)("cdkConnectedOverlayOpen",a.isOpen)}},dependencies:[i.U8,i.pI,i.xu],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})()}}]);