-
Notifications
You must be signed in to change notification settings - Fork 11
/
Copy pathchunk-MVV2PI6A.js
5 lines (5 loc) · 18.6 KB
/
chunk-MVV2PI6A.js
1
2
3
4
5
import{a as E,b as g,d as h}from"./chunk-HVFPNQ3B.js";import{a as S}from"./chunk-6AJOFIIP.js";import"./chunk-3LAVY7RV.js";import{a as z,g as y,h as T,j as w}from"./chunk-PNYJKZIQ.js";import"./chunk-UJZP7RYT.js";import{Ca as F,Hc as N,Ic as v,Lc as x,Mc as C,ec as k}from"./chunk-YWVGY2C2.js";import{Aa as p,Ac as b,Bc as B,Cc as A,Gc as G,Hc as e,Ib as c,Wb as o,ic as t,jc as n,kc as l,rb as m,rc as s,za as u}from"./chunk-GBKJFEQZ.js";import"./chunk-EQDQRRRY.js";var I=(()=>{class a{constructor(){this.offsetTop=10,this.nzOffsetBottom=10}setOffsetTop(){this.offsetTop+=10}setOffsetBottom(){this.nzOffsetBottom+=10}static{this.\u0275fac=function(i){return new(i||a)}}static{this.\u0275cmp=c({type:a,selectors:[["nz-demo-affix-basic"]],decls:9,vars:2,consts:[[3,"nzOffsetTop"],["nz-button","","nzType","primary",3,"click"],[3,"click","nzOffsetBottom"],["nz-button","","nzType","primary"]],template:function(i,d){i&1&&(t(0,"nz-affix",0)(1,"button",1),s("click",function(){return d.setOffsetTop()}),t(2,"span"),e(3,"Affix top"),n()()(),l(4,"br"),t(5,"nz-affix",2),s("click",function(){return d.setOffsetBottom()}),t(6,"button",3)(7,"span"),e(8,"Affix bottom"),n()()()),i&2&&(o("nzOffsetTop",d.offsetTop),m(5),o("nzOffsetBottom",d.nzOffsetBottom))},dependencies:[C,x,h,g,E,S],encapsulation:2})}}return a})();var H=(()=>{class a{onChange(r){console.log(r)}static{this.\u0275fac=function(i){return new(i||a)}}static{this.\u0275cmp=c({type:a,selectors:[["nz-demo-affix-on-change"]],decls:4,vars:1,consts:[[3,"nzChange","nzOffsetTop"],["nz-button",""]],template:function(i,d){i&1&&(t(0,"nz-affix",0),s("nzChange",function(D){return d.onChange(D)}),t(1,"button",1)(2,"span"),e(3,"120px to affix top"),n()()()),i&2&&o("nzOffsetTop",120)},dependencies:[C,x,h,g,E,S],encapsulation:2})}}return a})();var M=(()=>{class a{static{this.\u0275fac=function(i){return new(i||a)}}static{this.\u0275cmp=c({type:a,selectors:[["nz-demo-affix-target"]],decls:7,vars:2,consts:[["target",""],[1,"scrollable-container"],[1,"background"],["id","affix-container-target",3,"nzTarget"],["nz-button","",3,"nzType"]],template:function(i,d){if(i&1&&(t(0,"div",1,0)(2,"div",2)(3,"nz-affix",3)(4,"button",4)(5,"span"),e(6,"Fixed at the top of container"),n()()()()()),i&2){let f=G(1);m(3),o("nzTarget",f),m(),o("nzType","primary")}},dependencies:[C,x,h,g,E,S],styles:[".scrollable-container[_ngcontent-%COMP%]{height:100px;overflow-y:scroll}.background[_ngcontent-%COMP%]{padding-top:60px;height:300px;background-image:url(//zos.alipayobjects.com/rmsportal/RmjwQiJorKyobvI.jpg)}"]})}}return a})();var P=(()=>{class a{constructor(){this.expanded=!1}goLink(r){window&&(window.location.hash=r)}expandAllCode(){this.expanded=!this.expanded,this.codeBoxes.forEach(r=>r.expandCode(this.expanded))}static{this.\u0275fac=function(i){return new(i||a)}}static{this.\u0275cmp=c({type:a,selectors:[["nz-demo-affix"]],viewQuery:function(i,d){if(i&1&&b(z,5),i&2){let f;B(f=A())&&(d.codeBoxes=f)}},decls:221,vars:19,consts:[[1,"toc-affix",3,"nzOffsetTop"],["nzShowInkInFixed","",3,"nzClick","nzAffix"],["nzHref","#components-affix-demo-basic","nzTitle","\u57FA\u672C"],["nzHref","#components-affix-demo-on-change","nzTitle","\u56FA\u5B9A\u72B6\u6001\u6539\u53D8\u7684\u56DE\u8C03"],["nzHref","#components-affix-demo-target","nzTitle","\u6EDA\u52A8\u5BB9\u5668"],["nzHref","#api","nzTitle","API"],[1,"markdown"],[1,"subtitle"],[1,"widget"],["aria-label","Edit this page on Github","href","https://github.com/NG-ZORRO/ng-zorro-antd/edit/master/components/affix/doc/index.zh-CN.md","target","_blank","rel","noopener noreferrer",1,"edit-button"],["nzType","edit"],["id","\u4F55\u65F6\u4F7F\u7528"],["onclick","window.location.hash = '\u4F55\u65F6\u4F7F\u7528'",1,"anchor"],[1,"language-ts"],[1,"token","keyword"],[1,"token","punctuation"],[1,"token","string"],["nz-icon","","nzType","appstore","nz-tooltip","","nzTooltipTitle","\u5C55\u5F00\u5168\u90E8\u4EE3\u7801",1,"code-box-expand-trigger",3,"click"],["nz-row","",3,"nzGutter"],["nz-col","",3,"nzXl","nzSpan"],["nzTitle","\u57FA\u672C","nzSelector","nz-demo-affix-basic","nzGenerateCommand","ng g ng-zorro-antd:affix-basic <name>","nzComponentName","NzDemoAffixBasicComponent","nzIframeSource","null",3,"nzId","nzLink","nzIframeHeight","nzHref"],["demo",""],["intro",""],["nzTitle","\u6EDA\u52A8\u5BB9\u5668","nzSelector","nz-demo-affix-target","nzGenerateCommand","ng g ng-zorro-antd:affix-target <name>","nzComponentName","NzDemoAffixTargetComponent","nzIframeSource","null",3,"nzId","nzLink","nzIframeHeight","nzHref"],["nzTitle","\u56FA\u5B9A\u72B6\u6001\u6539\u53D8\u7684\u56DE\u8C03","nzSelector","nz-demo-affix-on-change","nzGenerateCommand","ng g ng-zorro-antd:affix-on-change <name>","nzComponentName","NzDemoAffixOnChangeComponent","nzIframeSource","null",3,"nzId","nzLink","nzIframeHeight","nzHref"],[1,"markdown","api-container"],["id","api"],["onclick","window.location.hash = 'api'",1,"anchor"],["id","nz-affix"],[1,"api-type-label","component"],["onclick","window.location.hash = 'nz-affix'",1,"anchor"],[1,"language-jsx"],[1,"token","tag"],[1,"token","style-attr","language-css"],[1,"token","attr-name"],[1,"token","attr-value"],[1,"token","property"],[1,"token","number"],[1,"token","operator"]],template:function(i,d){i&1&&(t(0,"article")(1,"nz-affix",0)(2,"nz-anchor",1),s("nzClick",function(D){return d.goLink(D)}),l(3,"nz-link",2)(4,"nz-link",3)(5,"nz-link",4)(6,"nz-link",5),n()(),t(7,"section",6)(8,"h1"),e(9,"Affix"),t(10,"span",7),e(11,"\u56FA\u9489"),n(),l(12,"span",8),t(13,"a",9),l(14,"nz-icon",10),n()(),t(15,"section",6),p(),t(16,"p"),e(17,"\u5C06\u9875\u9762\u5143\u7D20\u9489\u5728\u53EF\u89C6\u8303\u56F4\u3002"),n(),t(18,"h2",11)(19,"span"),e(20,"\u4F55\u65F6\u4F7F\u7528"),n(),t(21,"a",12),e(22,"#"),n()(),t(23,"p"),e(24,"\u5F53\u5185\u5BB9\u533A\u57DF\u6BD4\u8F83\u957F\uFF0C\u9700\u8981\u6EDA\u52A8\u9875\u9762\u65F6\uFF0C\u8FD9\u90E8\u5206\u5185\u5BB9\u5BF9\u5E94\u7684\u64CD\u4F5C\u6216\u8005\u5BFC\u822A\u9700\u8981\u5728\u6EDA\u52A8\u8303\u56F4\u5185\u59CB\u7EC8\u5C55\u73B0\u3002\u5E38\u7528\u4E8E\u4FA7\u8FB9\u83DC\u5355\u548C\u6309\u94AE\u7EC4\u5408\u3002"),n(),t(25,"p"),e(26,"\u9875\u9762\u53EF\u89C6\u8303\u56F4\u8FC7\u5C0F\u65F6\uFF0C\u614E\u7528\u6B64\u529F\u80FD\u4EE5\u514D\u906E\u6321\u9875\u9762\u5185\u5BB9\u3002"),n(),t(27,"pre",13)(28,"code")(29,"span",14),e(30,"import"),n(),e(31," "),t(32,"span",15),e(33,"{"),n(),e(34," NzAffixModule "),t(35,"span",15),e(36,"}"),n(),e(37," "),t(38,"span",14),e(39,"from"),n(),e(40," "),t(41,"span",16),e(42,"'ng-zorro-antd/affix'"),n(),t(43,"span",15),e(44,";"),n()()(),u(),n(),t(45,"h2")(46,"span"),e(47,"\u4EE3\u7801\u6F14\u793A"),n(),t(48,"span",17),s("click",function(){return d.expandAllCode()}),n()()(),t(49,"div",18)(50,"div",19)(51,"nz-code-box",20),l(52,"nz-demo-affix-basic",21),t(53,"div",22),p(),t(54,"p"),e(55,"\u6700\u7B80\u5355\u7684\u7528\u6CD5\u3002"),n(),u(),n()(),t(56,"nz-code-box",23),l(57,"nz-demo-affix-target",21),t(58,"div",22),p(),t(59,"p"),e(60,"\u7528 "),t(61,"code"),e(62,"nzTarget"),n(),e(63," \u8BBE\u7F6E "),t(64,"code"),e(65,"nz-affix"),n(),e(66," \u9700\u8981\u76D1\u542C\u5176\u6EDA\u52A8\u4E8B\u4EF6\u7684\u5143\u7D20\uFF0C\u9ED8\u8BA4\u4E3A "),t(67,"code"),e(68,"window"),n(),e(69,"\u3002"),n(),u(),n()()(),t(70,"div",19)(71,"nz-code-box",24),l(72,"nz-demo-affix-on-change",21),t(73,"div",22),p(),t(74,"p"),e(75,"\u53EF\u4EE5\u83B7\u5F97\u662F\u5426\u56FA\u5B9A\u7684\u72B6\u6001\u3002"),n(),u(),n()()()(),t(76,"section",25),p(),t(77,"h2",26)(78,"span"),e(79,"API"),n(),t(80,"a",27),e(81,"#"),n()(),t(82,"h3",28)(83,"span"),e(84,"nz-affix"),n(),t(85,"label",29),e(86,"component"),n(),t(87,"a",30),e(88,"#"),n()(),t(89,"table")(90,"thead")(91,"tr")(92,"th"),e(93,"\u6210\u5458"),n(),t(94,"th"),e(95,"\u8BF4\u660E"),n(),t(96,"th"),e(97,"\u7C7B\u578B"),n(),t(98,"th"),e(99,"\u9ED8\u8BA4\u503C"),n(),t(100,"th"),e(101,"\u5168\u5C40\u914D\u7F6E"),n()()(),t(102,"tbody")(103,"tr")(104,"td")(105,"code"),e(106,"[nzOffsetBottom]"),n()(),t(107,"td"),e(108,"\u8DDD\u79BB\u7A97\u53E3\u5E95\u90E8\u8FBE\u5230\u6307\u5B9A\u504F\u79FB\u91CF\u540E\u89E6\u53D1"),n(),t(109,"td")(110,"code"),e(111,"number"),n()(),t(112,"td"),e(113,"-"),n(),t(114,"td"),e(115,"\u2705"),n()(),t(116,"tr")(117,"td")(118,"code"),e(119,"[nzOffsetTop]"),n()(),t(120,"td"),e(121,"\u8DDD\u79BB\u7A97\u53E3\u9876\u90E8\u8FBE\u5230\u6307\u5B9A\u504F\u79FB\u91CF\u540E\u89E6\u53D1"),n(),t(122,"td")(123,"code"),e(124,"number"),n()(),t(125,"td")(126,"code"),e(127,"0"),n()(),t(128,"td"),e(129,"\u2705"),n()(),t(130,"tr")(131,"td")(132,"code"),e(133,"[nzTarget]"),n()(),t(134,"td"),e(135,"\u8BBE\u7F6E "),t(136,"code"),e(137,"nz-affix"),n(),e(138," \u9700\u8981\u76D1\u542C\u5176\u6EDA\u52A8\u4E8B\u4EF6\u7684\u5143\u7D20\uFF0C\u503C\u4E3A\u4E00\u4E2A\u8FD4\u56DE\u5BF9\u5E94 DOM \u5143\u7D20\u7684\u51FD\u6570"),n(),t(139,"td")(140,"code"),e(141,"string | HTMLElement"),n()(),t(142,"td")(143,"code"),e(144,"window"),n()(),l(145,"td"),n(),t(146,"tr")(147,"td")(148,"code"),e(149,"(nzChange)"),n()(),t(150,"td"),e(151,"\u56FA\u5B9A\u72B6\u6001\u6539\u53D8\u65F6\u89E6\u53D1\u7684\u56DE\u8C03\u51FD\u6570"),n(),t(152,"td")(153,"code"),e(154,"EventEmitter<boolean>"),n()(),t(155,"td"),e(156,"-"),n(),l(157,"td"),n()()(),t(158,"p")(159,"strong"),e(160,"\u6CE8\u610F\uFF1A"),n(),t(161,"code"),e(162,"nz-affix"),n(),e(163," \u5185\u7684\u5143\u7D20\u4E0D\u8981\u4F7F\u7528\u7EDD\u5BF9\u5B9A\u4F4D\uFF0C\u5982\u9700\u8981\u7EDD\u5BF9\u5B9A\u4F4D\u7684\u6548\u679C\uFF0C\u53EF\u4EE5\u76F4\u63A5\u8BBE\u7F6E "),t(164,"code"),e(165,"nz-affix"),n(),e(166," \u4E3A\u7EDD\u5BF9\u5B9A\u4F4D\uFF1A"),n(),t(167,"pre",31)(168,"code")(169,"span",32)(170,"span",32)(171,"span",15),e(172,"<"),n(),e(173,"nz-affix"),n(),t(174,"span",33)(175,"span",34),e(176," "),t(177,"span",34),e(178,"style"),n()(),t(179,"span",15),e(180,'="'),n(),t(181,"span",35)(182,"span",36),e(183,"position"),n(),t(184,"span",15),e(185,":"),n(),e(186," absolute"),t(187,"span",15),e(188,";"),n(),e(189," "),t(190,"span",36),e(191,"top"),n(),t(192,"span",15),e(193,":"),n(),e(194," "),t(195,"span",37),e(196,"10"),n(),e(197,"px, "),t(198,"span",36),e(199,"left"),n(),t(200,"span",15),e(201,":"),n(),e(202," "),t(203,"span",37),e(204,"10"),n(),e(205,"px"),n(),t(206,"span",15),e(207,'"'),n()(),t(208,"span",15),e(209,">"),n()(),e(210,`
`),t(211,"span",38),e(212,"..."),n(),e(213,`
`),t(214,"span",32)(215,"span",32)(216,"span",15),e(217,"</"),n(),e(218,"nz-affix"),n(),t(219,"span",15),e(220,">"),n()()()(),u(),n()()),i&2&&(m(),o("nzOffsetTop",16),m(),o("nzAffix",!1),m(47),o("nzGutter",16),m(),o("nzXl",12)("nzSpan",24),m(),o("nzId","components-affix-demo-basic")("nzLink","components-affix-demo-basic")("nzIframeHeight",null)("nzHref","https://github.com/NG-ZORRO/ng-zorro-antd/edit/master/components/affix/demo/basic.md"),m(5),o("nzId","components-affix-demo-target")("nzLink","components-affix-demo-target")("nzIframeHeight",null)("nzHref","https://github.com/NG-ZORRO/ng-zorro-antd/edit/master/components/affix/demo/target.md"),m(14),o("nzXl",12)("nzSpan",24),m(),o("nzId","components-affix-demo-on-change")("nzLink","components-affix-demo-on-change")("nzIframeHeight",null)("nzHref","https://github.com/NG-ZORRO/ng-zorro-antd/edit/master/components/affix/demo/on-change.md"))},dependencies:[w,z,y,T,x,v,N,k,F,I,H,M],encapsulation:2})}}return a})();var Q=(()=>{class a{constructor(){this.expanded=!1}goLink(r){window&&(window.location.hash=r)}expandAllCode(){this.expanded=!this.expanded,this.codeBoxes.forEach(r=>r.expandCode(this.expanded))}static{this.\u0275fac=function(i){return new(i||a)}}static{this.\u0275cmp=c({type:a,selectors:[["nz-demo-affix"]],viewQuery:function(i,d){if(i&1&&b(z,5),i&2){let f;B(f=A())&&(d.codeBoxes=f)}},decls:221,vars:19,consts:[[1,"toc-affix",3,"nzOffsetTop"],["nzShowInkInFixed","",3,"nzClick","nzAffix"],["nzHref","#components-affix-demo-basic","nzTitle","Basic"],["nzHref","#components-affix-demo-on-change","nzTitle","Callback"],["nzHref","#components-affix-demo-target","nzTitle","Container to scroll."],["nzHref","#api","nzTitle","API"],[1,"markdown"],[1,"subtitle"],[1,"widget"],["aria-label","Edit this page on Github","href","https://github.com/NG-ZORRO/ng-zorro-antd/edit/master/components/affix/doc/index.en-US.md","target","_blank","rel","noopener noreferrer",1,"edit-button"],["nzType","edit"],["id","when-to-use"],["onclick","window.location.hash = 'when-to-use'",1,"anchor"],[1,"language-ts"],[1,"token","keyword"],[1,"token","punctuation"],[1,"token","string"],["nz-icon","","nzType","appstore","nz-tooltip","","nzTooltipTitle","Expand All Code",1,"code-box-expand-trigger",3,"click"],["nz-row","",3,"nzGutter"],["nz-col","",3,"nzXl","nzSpan"],["nzTitle","Basic","nzSelector","nz-demo-affix-basic","nzGenerateCommand","ng g ng-zorro-antd:affix-basic <name>","nzComponentName","NzDemoAffixBasicComponent","nzIframeSource","null",3,"nzId","nzLink","nzIframeHeight","nzHref"],["demo",""],["intro",""],["nzTitle","Container to scroll.","nzSelector","nz-demo-affix-target","nzGenerateCommand","ng g ng-zorro-antd:affix-target <name>","nzComponentName","NzDemoAffixTargetComponent","nzIframeSource","null",3,"nzId","nzLink","nzIframeHeight","nzHref"],["nzTitle","Callback","nzSelector","nz-demo-affix-on-change","nzGenerateCommand","ng g ng-zorro-antd:affix-on-change <name>","nzComponentName","NzDemoAffixOnChangeComponent","nzIframeSource","null",3,"nzId","nzLink","nzIframeHeight","nzHref"],[1,"markdown","api-container"],["id","api"],["onclick","window.location.hash = 'api'",1,"anchor"],["id","nz-affix"],[1,"api-type-label","component"],["onclick","window.location.hash = 'nz-affix'",1,"anchor"],[1,"language-jsx"],[1,"token","tag"],[1,"token","style-attr","language-css"],[1,"token","attr-name"],[1,"token","attr-value"],[1,"token","property"],[1,"token","number"],[1,"token","operator"]],template:function(i,d){i&1&&(t(0,"article")(1,"nz-affix",0)(2,"nz-anchor",1),s("nzClick",function(D){return d.goLink(D)}),l(3,"nz-link",2)(4,"nz-link",3)(5,"nz-link",4)(6,"nz-link",5),n()(),t(7,"section",6)(8,"h1"),e(9,"Affix"),l(10,"span",7)(11,"span",8),t(12,"a",9),l(13,"nz-icon",10),n()(),t(14,"section",6),p(),t(15,"p"),e(16,"Make an element stick to viewport."),n(),t(17,"h2",11)(18,"span"),e(19,"When To Use"),n(),t(20,"a",12),e(21,"#"),n()(),t(22,"p"),e(23,"When user browses a long web page, some content need to stick to the viewport. This is common for menus and actions."),n(),t(24,"p"),e(25,"Please note that Affix should not cover other content on the page, especially when the size of the viewport is small."),n(),t(26,"pre",13)(27,"code")(28,"span",14),e(29,"import"),n(),e(30," "),t(31,"span",15),e(32,"{"),n(),e(33," NzAffixModule "),t(34,"span",15),e(35,"}"),n(),e(36," "),t(37,"span",14),e(38,"from"),n(),e(39," "),t(40,"span",16),e(41,"'ng-zorro-antd/affix'"),n(),t(42,"span",15),e(43,";"),n()()(),u(),n(),t(44,"h2")(45,"span"),e(46,"Examples"),n(),t(47,"span",17),s("click",function(){return d.expandAllCode()}),n()()(),t(48,"div",18)(49,"div",19)(50,"nz-code-box",20),l(51,"nz-demo-affix-basic",21),t(52,"div",22),p(),t(53,"p"),e(54,"The simplest usage."),n(),u(),n()(),t(55,"nz-code-box",23),l(56,"nz-demo-affix-target",21),t(57,"div",22),p(),t(58,"p"),e(59,"Set a "),t(60,"code"),e(61,"nzTarget"),n(),e(62," for 'nz-affix', which is listen to scroll event of target element (default is "),t(63,"code"),e(64,"window"),n(),e(65,")."),n(),u(),n()()(),t(66,"div",19)(67,"nz-code-box",24),l(68,"nz-demo-affix-on-change",21),t(69,"div",22),p(),t(70,"p"),e(71,"Callback with affixed state."),n(),u(),n()()()(),t(72,"section",25),p(),t(73,"h2",26)(74,"span"),e(75,"API"),n(),t(76,"a",27),e(77,"#"),n()(),t(78,"h3",28)(79,"span"),e(80,"nz-affix"),n(),t(81,"label",29),e(82,"component"),n(),t(83,"a",30),e(84,"#"),n()(),t(85,"table")(86,"thead")(87,"tr")(88,"th"),e(89,"Property"),n(),t(90,"th"),e(91,"Description"),n(),t(92,"th"),e(93,"Type"),n(),t(94,"th"),e(95,"Default"),n(),t(96,"th"),e(97,"Global Config"),n()()(),t(98,"tbody")(99,"tr")(100,"td")(101,"code"),e(102,"[nzOffsetBottom]"),n()(),t(103,"td"),e(104,"Pixels to offset from bottom when calculating position of scroll"),n(),t(105,"td")(106,"code"),e(107,"number"),n()(),t(108,"td"),e(109,"-"),n(),t(110,"td"),e(111,"\u2705"),n()(),t(112,"tr")(113,"td")(114,"code"),e(115,"[nzOffsetTop]"),n()(),t(116,"td"),e(117,"Pixels to offset from top when calculating position of scroll"),n(),t(118,"td")(119,"code"),e(120,"number"),n()(),t(121,"td")(122,"code"),e(123,"0"),n()(),t(124,"td"),e(125,"\u2705"),n()(),t(126,"tr")(127,"td")(128,"code"),e(129,"[nzTarget]"),n()(),t(130,"td"),e(131,"specifies the scrollable area dom node"),n(),t(132,"td")(133,"code"),e(134,"string | HTMLElement"),n()(),t(135,"td")(136,"code"),e(137,"window"),n()(),l(138,"td"),n(),t(139,"tr")(140,"td")(141,"code"),e(142,"(nzChange)"),n()(),t(143,"td"),e(144,"Callback for when affix state is changed"),n(),t(145,"td")(146,"code"),e(147,"EventEmitter<boolean>"),n()(),t(148,"td"),e(149,"-"),n(),l(150,"td"),n()()(),t(151,"p")(152,"strong"),e(153,"Note:"),n(),e(154," Children of "),t(155,"code"),e(156,"nz-affix"),n(),e(157," can not be "),t(158,"code"),e(159,"position: absolute"),n(),e(160,", but you can set "),t(161,"code"),e(162,"nz-affix"),n(),e(163," as "),t(164,"code"),e(165,"position: absolute"),n(),e(166,":"),n(),t(167,"pre",31)(168,"code")(169,"span",32)(170,"span",32)(171,"span",15),e(172,"<"),n(),e(173,"nz-affix"),n(),t(174,"span",33)(175,"span",34),e(176," "),t(177,"span",34),e(178,"style"),n()(),t(179,"span",15),e(180,'="'),n(),t(181,"span",35)(182,"span",36),e(183,"position"),n(),t(184,"span",15),e(185,":"),n(),e(186," absolute"),t(187,"span",15),e(188,";"),n(),e(189," "),t(190,"span",36),e(191,"top"),n(),t(192,"span",15),e(193,":"),n(),e(194," "),t(195,"span",37),e(196,"10"),n(),e(197,"px, "),t(198,"span",36),e(199,"left"),n(),t(200,"span",15),e(201,":"),n(),e(202," "),t(203,"span",37),e(204,"10"),n(),e(205,"px"),n(),t(206,"span",15),e(207,'"'),n()(),t(208,"span",15),e(209,">"),n()(),e(210,`
`),t(211,"span",38),e(212,"..."),n(),e(213,`
`),t(214,"span",32)(215,"span",32)(216,"span",15),e(217,"</"),n(),e(218,"nz-affix"),n(),t(219,"span",15),e(220,">"),n()()()(),u(),n()()),i&2&&(m(),o("nzOffsetTop",16),m(),o("nzAffix",!1),m(46),o("nzGutter",16),m(),o("nzXl",12)("nzSpan",24),m(),o("nzId","components-affix-demo-basic")("nzLink","components-affix-demo-basic")("nzIframeHeight",null)("nzHref","https://github.com/NG-ZORRO/ng-zorro-antd/edit/master/components/affix/demo/basic.md"),m(5),o("nzId","components-affix-demo-target")("nzLink","components-affix-demo-target")("nzIframeHeight",null)("nzHref","https://github.com/NG-ZORRO/ng-zorro-antd/edit/master/components/affix/demo/target.md"),m(11),o("nzXl",12)("nzSpan",24),m(),o("nzId","components-affix-demo-on-change")("nzLink","components-affix-demo-on-change")("nzIframeHeight",null)("nzHref","https://github.com/NG-ZORRO/ng-zorro-antd/edit/master/components/affix/demo/on-change.md"))},dependencies:[w,z,y,T,x,v,N,k,F,I,H,M],encapsulation:2})}}return a})();var V=[{path:"en",component:Q},{path:"zh",component:P}],ge=V;export{ge as default};