-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path7934.392a4f0aec305561.js
1 lines (1 loc) · 1.57 KB
/
7934.392a4f0aec305561.js
1
"use strict";(self.webpackChunkmaterial_angular_io=self.webpackChunkmaterial_angular_io||[]).push([[7934],{7934:(p,s,t)=>{t.r(s),t.d(s,{CdkOverlayBasicExample:()=>o});var e=t(4438),i=t(2753);function r(n,O){1&n&&(e.j41(0,"ul",3)(1,"li"),e.EFF(2,"Item 1"),e.k0s(),e.j41(3,"li"),e.EFF(4,"Item 2"),e.k0s(),e.j41(5,"li"),e.EFF(6,"Item 3"),e.k0s()())}let o=(()=>{class n{constructor(){this.isOpen=!1}static#e=this.\u0275fac=function(a){return new(a||n)};static#n=this.\u0275cmp=e.VBU({type:n,selectors:[["cdk-overlay-basic-example"]],standalone:!0,features:[e.aNF],decls:4,vars:3,consts:[["trigger","cdkOverlayOrigin"],["type","button","cdkOverlayOrigin","",3,"click"],["cdkConnectedOverlay","",3,"cdkConnectedOverlayOrigin","cdkConnectedOverlayOpen"],[1,"example-list"]],template:function(a,l){if(1&a){const c=e.RV6();e.j41(0,"button",1,0),e.bIt("click",function(){return e.eBV(c),e.Njj(l.isOpen=!l.isOpen)}),e.EFF(2),e.k0s(),e.DNE(3,r,7,0,"ng-template",2)}if(2&a){const c=e.sdS(1);e.R7$(2),e.SpI(" ",l.isOpen?"Close":"Open","\n"),e.R7$(),e.Y8G("cdkConnectedOverlayOrigin",c)("cdkConnectedOverlayOpen",l.isOpen)}},dependencies:[i.z_,i.WB,i.$Q],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}"]})}return n})()}}]);