@genesislcap/foundation-layout 9.0.1-alpha-b5c5eb7.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (156) hide show
  1. package/README.md +916 -0
  2. package/dist/1.0.0.remoteEntry.js +1 -0
  3. package/dist/191.191.106ece7a41ded6731029.js +2 -0
  4. package/dist/191.9a61143c2afb6057ad1bae886d5d1a6e.js.map +1 -0
  5. package/dist/259.09c601e5288d875caab4df1e2354c0ea.js.map +1 -0
  6. package/dist/259.259.216fcad43e9a38888e08.js +2 -0
  7. package/dist/415.415.094780a1a1162c7e5f1c.js +3 -0
  8. package/dist/415.415.094780a1a1162c7e5f1c.js.LICENSE.txt +4 -0
  9. package/dist/415.fcfb4f02eaecbfa31fc322639f244245.js.map +1 -0
  10. package/dist/459.459.c9f0bb440eb1f041c99e.js +515 -0
  11. package/dist/459.cb5f5b49b4e8881992c420f3b1ca863d.js.map +1 -0
  12. package/dist/623.623.0e7e8f23454ee96ed9c8.js +3 -0
  13. package/dist/623.623.0e7e8f23454ee96ed9c8.js.LICENSE.txt +4 -0
  14. package/dist/623.e8f211473f9034c4157d362efb017821.js.map +1 -0
  15. package/dist/755.718e14af7194fb741f98580b24b2bb8f.js.map +1 -0
  16. package/dist/755.755.f93ee58c2b836a669ec4.js +2 -0
  17. package/dist/dashboard.json +1 -0
  18. package/dist/dts/index.d.ts +3 -0
  19. package/dist/dts/index.d.ts.map +1 -0
  20. package/dist/dts/index.federated.d.ts +1 -0
  21. package/dist/dts/index.federated.d.ts.map +1 -0
  22. package/dist/dts/main/index.d.ts +6 -0
  23. package/dist/dts/main/index.d.ts.map +1 -0
  24. package/dist/dts/main/layout-components.d.ts +42 -0
  25. package/dist/dts/main/layout-components.d.ts.map +1 -0
  26. package/dist/dts/main/layout-item.d.ts +70 -0
  27. package/dist/dts/main/layout-item.d.ts.map +1 -0
  28. package/dist/dts/main/layout-main.d.ts +186 -0
  29. package/dist/dts/main/layout-main.d.ts.map +1 -0
  30. package/dist/dts/main/layout-region.d.ts +70 -0
  31. package/dist/dts/main/layout-region.d.ts.map +1 -0
  32. package/dist/dts/styles/constants.d.ts +7 -0
  33. package/dist/dts/styles/constants.d.ts.map +1 -0
  34. package/dist/dts/styles/dragging.styles.d.ts +7 -0
  35. package/dist/dts/styles/dragging.styles.d.ts.map +1 -0
  36. package/dist/dts/styles/index.d.ts +4 -0
  37. package/dist/dts/styles/index.d.ts.map +1 -0
  38. package/dist/dts/styles/layout.styles.d.ts +8 -0
  39. package/dist/dts/styles/layout.styles.d.ts.map +1 -0
  40. package/dist/dts/utils/constants.d.ts +14 -0
  41. package/dist/dts/utils/constants.d.ts.map +1 -0
  42. package/dist/dts/utils/error.d.ts +13 -0
  43. package/dist/dts/utils/error.d.ts.map +1 -0
  44. package/dist/dts/utils/events.d.ts +38 -0
  45. package/dist/dts/utils/events.d.ts.map +1 -0
  46. package/dist/dts/utils/index.d.ts +7 -0
  47. package/dist/dts/utils/index.d.ts.map +1 -0
  48. package/dist/dts/utils/logger.d.ts +2 -0
  49. package/dist/dts/utils/logger.d.ts.map +1 -0
  50. package/dist/dts/utils/misc.d.ts +10 -0
  51. package/dist/dts/utils/misc.d.ts.map +1 -0
  52. package/dist/dts/utils/templates.d.ts +6 -0
  53. package/dist/dts/utils/templates.d.ts.map +1 -0
  54. package/dist/dts/utils/types.d.ts +63 -0
  55. package/dist/dts/utils/types.d.ts.map +1 -0
  56. package/dist/esm/index.federated.js +2 -0
  57. package/dist/esm/index.federated.js.map +1 -0
  58. package/dist/esm/index.js +3 -0
  59. package/dist/esm/index.js.map +1 -0
  60. package/dist/esm/main/index.js +6 -0
  61. package/dist/esm/main/index.js.map +1 -0
  62. package/dist/esm/main/layout-components.js +36 -0
  63. package/dist/esm/main/layout-components.js.map +1 -0
  64. package/dist/esm/main/layout-item.js +86 -0
  65. package/dist/esm/main/layout-item.js.map +1 -0
  66. package/dist/esm/main/layout-main.js +391 -0
  67. package/dist/esm/main/layout-main.js.map +1 -0
  68. package/dist/esm/main/layout-region.js +98 -0
  69. package/dist/esm/main/layout-region.js.map +1 -0
  70. package/dist/esm/main/main.css +17 -0
  71. package/dist/esm/styles/constants.js +16 -0
  72. package/dist/esm/styles/constants.js.map +1 -0
  73. package/dist/esm/styles/dragging.styles.js +116 -0
  74. package/dist/esm/styles/dragging.styles.js.map +1 -0
  75. package/dist/esm/styles/index.js +4 -0
  76. package/dist/esm/styles/index.js.map +1 -0
  77. package/dist/esm/styles/layout.styles.js +530 -0
  78. package/dist/esm/styles/layout.styles.js.map +1 -0
  79. package/dist/esm/utils/constants.js +14 -0
  80. package/dist/esm/utils/constants.js.map +1 -0
  81. package/dist/esm/utils/error.js +17 -0
  82. package/dist/esm/utils/error.js.map +1 -0
  83. package/dist/esm/utils/events.js +26 -0
  84. package/dist/esm/utils/events.js.map +1 -0
  85. package/dist/esm/utils/index.js +7 -0
  86. package/dist/esm/utils/index.js.map +1 -0
  87. package/dist/esm/utils/logger.js +3 -0
  88. package/dist/esm/utils/logger.js.map +1 -0
  89. package/dist/esm/utils/misc.js +24 -0
  90. package/dist/esm/utils/misc.js.map +1 -0
  91. package/dist/esm/utils/templates.js +11 -0
  92. package/dist/esm/utils/templates.js.map +1 -0
  93. package/dist/esm/utils/types.js +4 -0
  94. package/dist/esm/utils/types.js.map +1 -0
  95. package/dist/favicon.ico +0 -0
  96. package/dist/foundation-layout.api.json +1574 -0
  97. package/dist/foundation-layout.d.ts +478 -0
  98. package/dist/foundationLayout.8b94161c9f0d0d475d026a05513893c1.js.map +1 -0
  99. package/dist/index.ejs +23 -0
  100. package/dist/index.html +15 -0
  101. package/dist/info.ejs +13 -0
  102. package/dist/main.40c13c1585eb6fa5761a17ab29a7851e.js.map +1 -0
  103. package/dist/main.94f8a6853d484ec34632.js +2 -0
  104. package/dist/npm.consola.713.b1e4073e73c71572987a.js +2 -0
  105. package/dist/npm.consola.a0d3324d3e61dcc430c3029da5f4dcc7.js.map +1 -0
  106. package/dist/npm.genesis-community.248.9c9900001dbc5ba9c3ed.js +2 -0
  107. package/dist/npm.genesis-community.2e0cc159dabe113d6fb29bb505c1a0d4.js.map +1 -0
  108. package/dist/npm.microsoft.127.00f16f24d8da8fd89263.js +1469 -0
  109. package/dist/npm.microsoft.127.00f16f24d8da8fd89263.js.LICENSE.txt +14 -0
  110. package/dist/npm.microsoft.be43958facd28231e770c1307660f64d.js.map +1 -0
  111. package/dist/remoteEntry.js +2 -0
  112. package/dist/serve.json +3 -0
  113. package/dist/tsdoc-metadata.json +11 -0
  114. package/docs/.gitattributes +2 -0
  115. package/docs/api/foundation-layout.default_reload_buffer.md +18 -0
  116. package/docs/api/foundation-layout.foundationlayout.additem.md +38 -0
  117. package/docs/api/foundation-layout.foundationlayout.dragging.md +16 -0
  118. package/docs/api/foundation-layout.foundationlayout.getlayout.md +22 -0
  119. package/docs/api/foundation-layout.foundationlayout.layoutrequiredregistrations.md +37 -0
  120. package/docs/api/foundation-layout.foundationlayout.loadlayout.md +37 -0
  121. package/docs/api/foundation-layout.foundationlayout.md +44 -0
  122. package/docs/api/foundation-layout.foundationlayout.registereditems.md +26 -0
  123. package/docs/api/foundation-layout.foundationlayout.registeritem.md +42 -0
  124. package/docs/api/foundation-layout.foundationlayout.reloadbuffer.md +16 -0
  125. package/docs/api/foundation-layout.foundationlayoutcomponents.md +50 -0
  126. package/docs/api/foundation-layout.foundationlayoutitem.closable.md +16 -0
  127. package/docs/api/foundation-layout.foundationlayoutitem.md +35 -0
  128. package/docs/api/foundation-layout.foundationlayoutitem.registration.md +21 -0
  129. package/docs/api/foundation-layout.foundationlayoutitem.size.md +16 -0
  130. package/docs/api/foundation-layout.foundationlayoutitem.title.md +21 -0
  131. package/docs/api/foundation-layout.foundationlayoutregion.md +33 -0
  132. package/docs/api/foundation-layout.foundationlayoutregion.size.md +16 -0
  133. package/docs/api/foundation-layout.foundationlayoutregion.type.md +16 -0
  134. package/docs/api/foundation-layout.layoutemitevents.md +22 -0
  135. package/docs/api/foundation-layout.layoutreceiveevents.md +20 -0
  136. package/docs/api/foundation-layout.layoutreceiveeventsdetail.md +23 -0
  137. package/docs/api/foundation-layout.layoutregiontype.md +16 -0
  138. package/docs/api/foundation-layout.layoutregistrationerror._constructor_.md +23 -0
  139. package/docs/api/foundation-layout.layoutregistrationerror.md +23 -0
  140. package/docs/api/foundation-layout.layoutstyles.md +21 -0
  141. package/docs/api/foundation-layout.layouttemplate.md +21 -0
  142. package/docs/api/foundation-layout.layoutusageerror._constructor_.md +23 -0
  143. package/docs/api/foundation-layout.layoutusageerror.md +23 -0
  144. package/docs/api/foundation-layout.md +42 -0
  145. package/docs/api/foundation-layout.placement.md +18 -0
  146. package/docs/api/foundation-layout.registeredelementconfig.closable.md +14 -0
  147. package/docs/api/foundation-layout.registeredelementconfig.md +30 -0
  148. package/docs/api/foundation-layout.registeredelementconfig.registration.md +14 -0
  149. package/docs/api/foundation-layout.registeredelementconfig.size.md +14 -0
  150. package/docs/api/foundation-layout.registeredelementconfig.title.md +14 -0
  151. package/docs/api/foundation-layout.serialisedlayout.md +26 -0
  152. package/docs/api/index.md +12 -0
  153. package/docs/api-report.md +235 -0
  154. package/docs/img/foundation-layout-example.png +0 -0
  155. package/license.txt +46 -0
  156. package/package.json +80 -0
@@ -0,0 +1,2 @@
1
+ var foundationLayout;(()=>{"use strict";var e,t,r,n,o,a,i,l,f,u,s,d,c={451:(e,t,r)=>{var n={"./index":()=>r.e(755).then((()=>()=>r(755)))},o=(e,t)=>(r.R=t,t=r.o(n,e)?n[e]():Promise.resolve().then((()=>{throw new Error('Module "'+e+'" does not exist in container.')})),r.R=void 0,t),a=(e,t)=>{if(r.S){var n=r.S.default,o="default";if(n&&n!==e)throw new Error("Container initialization failed as it has already been initialized with a different share scope");return r.S[o]=e,r.I(o,t)}};r.d(t,{get:()=>o,init:()=>a})}},h={};function p(e){var t=h[e];if(void 0!==t)return t.exports;var r=h[e]={exports:{}},n=!0;try{c[e].call(r.exports,r,r.exports,p),n=!1}finally{n&&delete h[e]}return r.exports}p.m=c,p.c=h,e=[],p.O=(t,r,n,o)=>{if(!r){var a=1/0;for(u=0;u<e.length;u++){for(var[r,n,o]=e[u],i=!0,l=0;l<r.length;l++)(!1&o||a>=o)&&Object.keys(p.O).every((e=>p.O[e](r[l])))?r.splice(l--,1):(i=!1,o<a&&(a=o));if(i){e.splice(u--,1);var f=n();void 0!==f&&(t=f)}}return t}o=o||0;for(var u=e.length;u>0&&e[u-1][2]>o;u--)e[u]=e[u-1];e[u]=[r,n,o]},p.d=(e,t)=>{for(var r in t)p.o(t,r)&&!p.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},p.f={},p.e=e=>Promise.all(Object.keys(p.f).reduce(((t,r)=>(p.f[r](e,t),t)),[])),p.u=e=>(({127:"npm.microsoft",248:"npm.genesis-community",713:"npm.consola"}[e]||e)+"."+e+"."+{127:"00f16f24d8da8fd89263",147:"680b1da1d96051244bd2",191:"106ece7a41ded6731029",248:"9c9900001dbc5ba9c3ed",259:"216fcad43e9a38888e08",415:"094780a1a1162c7e5f1c",459:"c9f0bb440eb1f041c99e",495:"ef332497920c5f8d6592",623:"0e7e8f23454ee96ed9c8",713:"b1e4073e73c71572987a",755:"f93ee58c2b836a669ec4",758:"c3c8911366f8331c70cc"}[e]+".js"),p.miniCssF=e=>{},p.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),t={},r="@genesislcap/foundation-layout:",p.l=(e,n,o,a)=>{if(t[e])t[e].push(n);else{var i,l;if(void 0!==o)for(var f=document.getElementsByTagName("script"),u=0;u<f.length;u++){var s=f[u];if(s.getAttribute("src")==e||s.getAttribute("data-webpack")==r+o){i=s;break}}i||(l=!0,(i=document.createElement("script")).charset="utf-8",i.timeout=120,p.nc&&i.setAttribute("nonce",p.nc),i.setAttribute("data-webpack",r+o),i.src=e),t[e]=[n];var d=(r,n)=>{i.onerror=i.onload=null,clearTimeout(c);var o=t[e];if(delete t[e],i.parentNode&&i.parentNode.removeChild(i),o&&o.forEach((e=>e(n))),r)return r(n)},c=setTimeout(d.bind(null,void 0,{type:"timeout",target:i}),12e4);i.onerror=d.bind(null,i.onerror),i.onload=d.bind(null,i.onload),l&&document.head.appendChild(i)}},p.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},(()=>{p.S={};var e={},t={};p.I=(r,n)=>{n||(n=[]);var o=t[r];if(o||(o=t[r]={}),!(n.indexOf(o)>=0)){if(n.push(o),e[r])return e[r];p.o(p.S,r)||(p.S[r]={});var a=p.S[r],i="@genesislcap/foundation-layout",l=(e,t,r,n)=>{var o=a[e]=a[e]||{},l=o[t];(!l||!l.loaded&&(!n!=!l.eager?n:i>l.from))&&(o[t]={get:r,from:i,eager:!!n})},f=[];if("default"===r)l("@genesis-community/golden-layout","2.9.3",(()=>p.e(248).then((()=>()=>p(192))))),l("@genesislcap/foundation-utils","9.0.0",(()=>Promise.all([p.e(127),p.e(713),p.e(147),p.e(259),p.e(758)]).then((()=>()=>p(259))))),l("@microsoft/fast-element","1.11.0",(()=>p.e(127).then((()=>()=>p(759))))),l("@microsoft/fast-foundation","2.47.0",(()=>Promise.all([p.e(127),p.e(147),p.e(495),p.e(415)]).then((()=>()=>p(916))))),l("tslib","1.14.1",(()=>p.e(127).then((()=>()=>p(160))))),l("tslib","1.14.1",(()=>p.e(127).then((()=>()=>p(726))))),l("tslib","2.5.0",(()=>p.e(191).then((()=>()=>p(191)))));return f.length?e[r]=Promise.all(f).then((()=>e[r]=1)):e[r]=1}}})(),p.p="/",n=e=>{var t=e=>e.split(".").map((e=>+e==e?+e:e)),r=/^([^-+]+)?(?:-([^+]+))?(?:\+(.+))?$/.exec(e),n=r[1]?t(r[1]):[];return r[2]&&(n.length++,n.push.apply(n,t(r[2]))),r[3]&&(n.push([]),n.push.apply(n,t(r[3]))),n},o=(e,t)=>{e=n(e),t=n(t);for(var r=0;;){if(r>=e.length)return r<t.length&&"u"!=(typeof t[r])[0];var o=e[r],a=(typeof o)[0];if(r>=t.length)return"u"==a;var i=t[r],l=(typeof i)[0];if(a!=l)return"o"==a&&"n"==l||"s"==l||"u"==a;if("o"!=a&&"u"!=a&&o!=i)return o<i;r++}},a=(e,t)=>{if(0 in e){t=n(t);var r=e[0],o=r<0;o&&(r=-r-1);for(var i=0,l=1,f=!0;;l++,i++){var u,s,d=l<e.length?(typeof e[l])[0]:"";if(i>=t.length||"o"==(s=(typeof(u=t[i]))[0]))return!f||("u"==d?l>r&&!o:""==d!=o);if("u"==s){if(!f||"u"!=d)return!1}else if(f)if(d==s)if(l<=r){if(u!=e[l])return!1}else{if(o?u>e[l]:u<e[l])return!1;u!=e[l]&&(f=!1)}else if("s"!=d&&"n"!=d){if(o||l<=r)return!1;f=!1,l--}else{if(l<=r||s<d!=o)return!1;f=!1}else"s"!=d&&"n"!=d&&(f=!1,l--)}}var c=[],h=c.pop.bind(c);for(i=1;i<e.length;i++){var p=e[i];c.push(1==p?h()|h():2==p?h()&h():p?a(p,t):!h())}return!!h()},i=(e,t,r)=>{var n=e[t];return(t=Object.keys(n).reduce(((e,t)=>!a(r,t)||e&&!o(e,t)?e:t),0))&&n[t]},l=e=>(e.loaded=1,e.get()),f=(e=>function(t,r,n,o){var a=p.I(t);return a&&a.then?a.then(e.bind(e,t,p.S[t],r,n,o)):e(t,p.S[t],r,n,o)})(((e,t,r,n,o)=>{var a=t&&p.o(t,r)&&i(t,r,n);return a?l(a):o()})),u={},s={147:()=>f("default","@microsoft/fast-element",[1,1,7,0],(()=>p.e(127).then((()=>()=>p(759))))),951:()=>f("default","@microsoft/fast-foundation",[1,2,33,2],(()=>Promise.all([p.e(127),p.e(495),p.e(623)]).then((()=>()=>p(916))))),304:()=>f("default","tslib",[1,2,3,1],(()=>p.e(191).then((()=>()=>p(191))))),495:()=>f("default","tslib",[1,2,3,1],(()=>p.e(127).then((()=>()=>p(726))))),64:()=>f("default","@genesislcap/foundation-utils",[1,9,0,0],(()=>Promise.all([p.e(713),p.e(259)]).then((()=>()=>p(259))))),699:()=>f("default","@genesis-community/golden-layout",[1,2,9,3],(()=>p.e(248).then((()=>()=>p(192)))))},d={147:[147],459:[64,699],495:[495],758:[951,304]},p.f.consumes=(e,t)=>{p.o(d,e)&&d[e].forEach((e=>{if(p.o(u,e))return t.push(u[e]);var r=t=>{u[e]=0,p.m[e]=r=>{delete p.c[e],r.exports=t()}},n=t=>{delete u[e],p.m[e]=r=>{throw delete p.c[e],t}};try{var o=s[e]();o.then?t.push(u[e]=o.then(r).catch(n)):r(o)}catch(e){n(e)}}))},(()=>{var e={302:0,648:0};p.f.j=(t,r)=>{var n=p.o(e,t)?e[t]:void 0;if(0!==n)if(n)r.push(n[2]);else if(/^(147|495|648|758)$/.test(t))e[t]=0;else{var o=new Promise(((r,o)=>n=e[t]=[r,o]));r.push(n[2]=o);var a=p.p+p.u(t),i=new Error;p.l(a,(r=>{if(p.o(e,t)&&(0!==(n=e[t])&&(e[t]=void 0),n)){var o=r&&("load"===r.type?"missing":r.type),a=r&&r.target&&r.target.src;i.message="Loading chunk "+t+" failed.\n("+o+": "+a+")",i.name="ChunkLoadError",i.type=o,i.request=a,n[1](i)}}),"chunk-"+t,t)}},p.O.j=t=>0===e[t];var t=(t,r)=>{var n,o,[a,i,l]=r,f=0;for(n in i)p.o(i,n)&&(p.m[n]=i[n]);if(l)var u=l(p);for(t&&t(r);f<a.length;f++)o=a[f],p.o(e,o)&&e[o]&&e[o][0](),e[a[f]]=0;return p.O(u)},r=self.webpackChunk_genesislcap_foundation_layout=self.webpackChunk_genesislcap_foundation_layout||[];r.forEach(t.bind(null,0)),r.push=t.bind(null,r.push.bind(r))})();var v=p.O(void 0,[648],(()=>p(451)));v=p.O(v),foundationLayout=v})();
2
+ //# sourceMappingURL=foundationLayout.8b94161c9f0d0d475d026a05513893c1.js.map
@@ -0,0 +1,3 @@
1
+ {
2
+ "rewrites": [ { "source": "/**", "destination": "/index.html" } ]
3
+ }
@@ -0,0 +1,11 @@
1
+ // This file is read by tools that parse documentation comments conforming to the TSDoc standard.
2
+ // It should be published with your NPM package. It should not be tracked by Git.
3
+ {
4
+ "tsdocVersion": "0.12",
5
+ "toolPackages": [
6
+ {
7
+ "packageName": "@microsoft/api-extractor",
8
+ "packageVersion": "7.34.4"
9
+ }
10
+ ]
11
+ }
@@ -0,0 +1,2 @@
1
+ *.md -diff
2
+ *.md linguist-generated
@@ -0,0 +1,18 @@
1
+ <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
+
3
+ [Home](./index.md) &gt; [@genesislcap/foundation-layout](./foundation-layout.md) &gt; [DEFAULT\_RELOAD\_BUFFER](./foundation-layout.default_reload_buffer.md)
4
+
5
+ ## DEFAULT\_RELOAD\_BUFFER variable
6
+
7
+ > This API is provided as a preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
8
+ >
9
+
10
+ Default time in milliseconds for the layout to buffer calls to reloading the layout while the declarative API is loading.
11
+
12
+ During the first load of the layout, a loading spinner will be shown.
13
+
14
+ **Signature:**
15
+
16
+ ```typescript
17
+ DEFAULT_RELOAD_BUFFER = 500
18
+ ```
@@ -0,0 +1,38 @@
1
+ <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
+
3
+ [Home](./index.md) &gt; [@genesislcap/foundation-layout](./foundation-layout.md) &gt; [FoundationLayout](./foundation-layout.foundationlayout.md) &gt; [addItem](./foundation-layout.foundationlayout.additem.md)
4
+
5
+ ## FoundationLayout.addItem() method
6
+
7
+ > This API is provided as a preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
8
+ >
9
+
10
+ Dynamically add a new item to the layout. The user can move the new plane to whenever they want once it has been added.
11
+
12
+ **Signature:**
13
+
14
+ ```typescript
15
+ addItem(config: RegisteredElementConfig, placement?: Placement): void;
16
+ ```
17
+
18
+ ## Parameters
19
+
20
+ | Parameter | Type | Description |
21
+ | --- | --- | --- |
22
+ | config | [RegisteredElementConfig](./foundation-layout.registeredelementconfig.md) | [RegisteredElementConfig](./foundation-layout.registeredelementconfig.md) configuration items for the new pane |
23
+ | placement | [Placement](./foundation-layout.placement.md) | _(Optional)_ where to add the new pane on the layout (defaults to the right hand side) |
24
+
25
+ **Returns:**
26
+
27
+ void
28
+
29
+ ## Exceptions
30
+
31
+ [LayoutRegistrationError](./foundation-layout.layoutregistrationerror.md) if you attempt to add an item before it has been registered
32
+
33
+ ## Remarks
34
+
35
+ Adding a new item invokes the registration previously made explicitly via [registerItem()](./foundation-layout.foundationlayout.registeritem.md) or implicitly via the html declerative API.
36
+
37
+ The elements added onto the new pane are copies using `element.cloneNode()` of the original element references used during registration.
38
+
@@ -0,0 +1,16 @@
1
+ <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
+
3
+ [Home](./index.md) &gt; [@genesislcap/foundation-layout](./foundation-layout.md) &gt; [FoundationLayout](./foundation-layout.foundationlayout.md) &gt; [dragging](./foundation-layout.foundationlayout.dragging.md)
4
+
5
+ ## FoundationLayout.dragging property
6
+
7
+ > This API is provided as a preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
8
+ >
9
+
10
+ Set to true when the user is currently dragging the panes inside of the layout
11
+
12
+ **Signature:**
13
+
14
+ ```typescript
15
+ dragging: boolean;
16
+ ```
@@ -0,0 +1,22 @@
1
+ <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
+
3
+ [Home](./index.md) &gt; [@genesislcap/foundation-layout](./foundation-layout.md) &gt; [FoundationLayout](./foundation-layout.foundationlayout.md) &gt; [getLayout](./foundation-layout.foundationlayout.getlayout.md)
4
+
5
+ ## FoundationLayout.getLayout() method
6
+
7
+ > This API is provided as a preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
8
+ >
9
+
10
+ Gets a minified string containing the config describing the current layout of the layout object to later restore in [function](./foundation-layout.foundationlayout.loadlayout.md)
11
+
12
+ **Signature:**
13
+
14
+ ```typescript
15
+ getLayout(): SerialisedLayout;
16
+ ```
17
+ **Returns:**
18
+
19
+ [SerialisedLayout](./foundation-layout.serialisedlayout.md)
20
+
21
+ - latest version of [SerialisedLayout](./foundation-layout.serialisedlayout.md) describing the layout
22
+
@@ -0,0 +1,37 @@
1
+ <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
+
3
+ [Home](./index.md) &gt; [@genesislcap/foundation-layout](./foundation-layout.md) &gt; [FoundationLayout](./foundation-layout.foundationlayout.md) &gt; [layoutRequiredRegistrations](./foundation-layout.foundationlayout.layoutrequiredregistrations.md)
4
+
5
+ ## FoundationLayout.layoutRequiredRegistrations() method
6
+
7
+ > This API is provided as a preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
8
+ >
9
+
10
+ Gets all of the required registration function names for a set of config
11
+
12
+ **Signature:**
13
+
14
+ ```typescript
15
+ static layoutRequiredRegistrations(layout: SerialisedLayout): string[];
16
+ ```
17
+
18
+ ## Parameters
19
+
20
+ | Parameter | Type | Description |
21
+ | --- | --- | --- |
22
+ | layout | [SerialisedLayout](./foundation-layout.serialisedlayout.md) | any version of [SerialisedLayout](./foundation-layout.serialisedlayout.md) object describing the layout |
23
+
24
+ **Returns:**
25
+
26
+ string\[\]
27
+
28
+ string\[\] - an item for each registered element in the config. These must all be added before [function](./foundation-layout.foundationlayout.loadlayout.md)
29
+
30
+ ## Exceptions
31
+
32
+ - various errors if the layout parameter cannot be parsed
33
+
34
+ ## Remarks
35
+
36
+ You can use this with [registeredItems](./foundation-layout.foundationlayout.registereditems.md) to work out what items you need to register with [registerItem()](./foundation-layout.foundationlayout.registeritem.md) before loading the layout with [loadLayout()](./foundation-layout.foundationlayout.loadlayout.md)
37
+
@@ -0,0 +1,37 @@
1
+ <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
+
3
+ [Home](./index.md) &gt; [@genesislcap/foundation-layout](./foundation-layout.md) &gt; [FoundationLayout](./foundation-layout.foundationlayout.md) &gt; [loadLayout](./foundation-layout.foundationlayout.loadlayout.md)
4
+
5
+ ## FoundationLayout.loadLayout() method
6
+
7
+ > This API is provided as a preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
8
+ >
9
+
10
+ Restores a layout described in the config from [getLayout()](./foundation-layout.foundationlayout.getlayout.md)
11
+
12
+ **Signature:**
13
+
14
+ ```typescript
15
+ loadLayout(layout: SerialisedLayout): void;
16
+ ```
17
+
18
+ ## Parameters
19
+
20
+ | Parameter | Type | Description |
21
+ | --- | --- | --- |
22
+ | layout | [SerialisedLayout](./foundation-layout.serialisedlayout.md) | any version of [SerialisedLayout](./foundation-layout.serialisedlayout.md) object describing the layout |
23
+
24
+ **Returns:**
25
+
26
+ void
27
+
28
+ ## Exceptions
29
+
30
+ [LayoutUsageError](./foundation-layout.layoutusageerror.md) if you attempt to load a layout with registered items that are not currently registered with the layout system
31
+
32
+ various errors if the layout string is malformed and cannot be parsed
33
+
34
+ ## Remarks
35
+
36
+ In order to restore a layout you must have registered all of the required panes with the layout system before restoring it. If you are just setting the layout using the declarative API then all of the same components will be registered. &lt;<!-- -->br/ &gt;<!-- -->If you have added any elements using [FoundationLayout.registerItem()](./foundation-layout.foundationlayout.registeritem.md) then you must ensure all of the same items have been added again. To make tracking what items are registered easier it is recommended in this case you explicitly name your registrations using the `id` parameter available on the [RegisteredElementConfig](./foundation-layout.registeredelementconfig.md) and `foundation-layout-item` APIs. <br/> You can use [FoundationLayout.layoutRequiredRegistrations()](./foundation-layout.foundationlayout.layoutrequiredregistrations.md) to check which items are registered in a current layout in order to dynamically add any missing items before you can restore the layout
37
+
@@ -0,0 +1,44 @@
1
+ <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
+
3
+ [Home](./index.md) &gt; [@genesislcap/foundation-layout](./foundation-layout.md) &gt; [FoundationLayout](./foundation-layout.foundationlayout.md)
4
+
5
+ ## FoundationLayout class
6
+
7
+ > This API is provided as a preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
8
+ >
9
+
10
+ Top level web component which is used to initialise a custom layout
11
+
12
+ **Signature:**
13
+
14
+ ```typescript
15
+ export declare class FoundationLayout extends FoundationElement implements LayoutComponent
16
+ ```
17
+ **Extends:** FoundationElement
18
+
19
+ **Implements:** LayoutComponent
20
+
21
+ ## Remarks
22
+
23
+ Can be used in a composition to customise the styles of the layout.
24
+
25
+ The constructor for this class is marked as internal. Third-party code should not call the constructor directly or create subclasses that extend the `FoundationLayout` class.
26
+
27
+ ## Properties
28
+
29
+ | Property | Modifiers | Type | Description |
30
+ | --- | --- | --- | --- |
31
+ | [dragging](./foundation-layout.foundationlayout.dragging.md) | | boolean | **_(BETA)_** Set to true when the user is currently dragging the panes inside of the layout |
32
+ | [reloadBuffer](./foundation-layout.foundationlayout.reloadbuffer.md) | | number | **_(BETA)_** Number describing how long to wait in ms before reloading the config when adding items declaratively by the html API. Default 500 (ms). |
33
+
34
+ ## Methods
35
+
36
+ | Method | Modifiers | Description |
37
+ | --- | --- | --- |
38
+ | [addItem(config, placement)](./foundation-layout.foundationlayout.additem.md) | | **_(BETA)_** Dynamically add a new item to the layout. The user can move the new plane to whenever they want once it has been added. |
39
+ | [getLayout()](./foundation-layout.foundationlayout.getlayout.md) | | **_(BETA)_** Gets a minified string containing the config describing the current layout of the layout object to later restore in [function](./foundation-layout.foundationlayout.loadlayout.md) |
40
+ | [layoutRequiredRegistrations(layout)](./foundation-layout.foundationlayout.layoutrequiredregistrations.md) | <code>static</code> | **_(BETA)_** Gets all of the required registration function names for a set of config |
41
+ | [loadLayout(layout)](./foundation-layout.foundationlayout.loadlayout.md) | | **_(BETA)_** Restores a layout described in the config from [getLayout()](./foundation-layout.foundationlayout.getlayout.md) |
42
+ | [registeredItems()](./foundation-layout.foundationlayout.registereditems.md) | | **_(BETA)_** Gets all of the currently registered names |
43
+ | [registerItem(registration, elements)](./foundation-layout.foundationlayout.registeritem.md) | | **_(BETA)_** Register a collection of <code>Element</code> and associate them with an <code>ID</code> with the layout system for later use. |
44
+
@@ -0,0 +1,26 @@
1
+ <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
+
3
+ [Home](./index.md) &gt; [@genesislcap/foundation-layout](./foundation-layout.md) &gt; [FoundationLayout](./foundation-layout.foundationlayout.md) &gt; [registeredItems](./foundation-layout.foundationlayout.registereditems.md)
4
+
5
+ ## FoundationLayout.registeredItems() method
6
+
7
+ > This API is provided as a preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
8
+ >
9
+
10
+ Gets all of the currently registered names
11
+
12
+ **Signature:**
13
+
14
+ ```typescript
15
+ registeredItems(): string[];
16
+ ```
17
+ **Returns:**
18
+
19
+ string\[\]
20
+
21
+ string\[\] - an item for each registered element currently registered with the layout system
22
+
23
+ ## Remarks
24
+
25
+ You can use this with [layoutRequiredRegistrations](./foundation-layout.foundationlayout.layoutrequiredregistrations.md) to work out what items you need to register with [registerItem()](./foundation-layout.foundationlayout.registeritem.md) before loading the layout with [loadLayout()](./foundation-layout.foundationlayout.loadlayout.md)
26
+
@@ -0,0 +1,42 @@
1
+ <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
+
3
+ [Home](./index.md) &gt; [@genesislcap/foundation-layout](./foundation-layout.md) &gt; [FoundationLayout](./foundation-layout.foundationlayout.md) &gt; [registerItem](./foundation-layout.foundationlayout.registeritem.md)
4
+
5
+ ## FoundationLayout.registerItem() method
6
+
7
+ > This API is provided as a preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
8
+ >
9
+
10
+ Register a collection of `Element` and associate them with an `ID` with the layout system for later use.
11
+
12
+ **Signature:**
13
+
14
+ ```typescript
15
+ registerItem(registration: string, elements: Element[]): string;
16
+ ```
17
+
18
+ ## Parameters
19
+
20
+ | Parameter | Type | Description |
21
+ | --- | --- | --- |
22
+ | registration | string | string of the registration ID |
23
+ | elements | Element\[\] | Elements\[\] containing the reference to the elements to register for later usage |
24
+
25
+ **Returns:**
26
+
27
+ string
28
+
29
+ - string defining the name of the registered item with the layout system (config.id if set).
30
+
31
+ ## Exceptions
32
+
33
+ [LayoutUsageError](./foundation-layout.layoutusageerror.md) if you attempt to add an item before the layout has been initialised.
34
+
35
+ [LayoutRegistrationError](./foundation-layout.layoutregistrationerror.md) if you attempt to use a `registration` name which is already in use (declarative html API and JavaScript API registrations use the same "pool" of registration names).
36
+
37
+ ## Remarks
38
+
39
+ You would use this to register elements that you later want to load when using [FoundationLayout.loadLayout()](./foundation-layout.foundationlayout.loadlayout.md)<!-- -->. Use [FoundationLayout.layoutRequiredRegistrations()](./foundation-layout.foundationlayout.layoutrequiredregistrations.md) to see what components need to be registered for a certain config and then register them using this function before calling [FoundationLayout.loadLayout()](./foundation-layout.foundationlayout.loadlayout.md)<!-- -->.
40
+
41
+ When registering an element it is moved by reference into the internals of the layout, so if you pass elements already in the DOM then they will disappear. If you want to avoid this you can pass copies using `element.cloneNode(true)`<!-- -->.
42
+
@@ -0,0 +1,16 @@
1
+ <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
+
3
+ [Home](./index.md) &gt; [@genesislcap/foundation-layout](./foundation-layout.md) &gt; [FoundationLayout](./foundation-layout.foundationlayout.md) &gt; [reloadBuffer](./foundation-layout.foundationlayout.reloadbuffer.md)
4
+
5
+ ## FoundationLayout.reloadBuffer property
6
+
7
+ > This API is provided as a preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
8
+ >
9
+
10
+ Number describing how long to wait in ms before reloading the config when adding items declaratively by the html API. Default 500 (ms).
11
+
12
+ **Signature:**
13
+
14
+ ```typescript
15
+ reloadBuffer: number;
16
+ ```
@@ -0,0 +1,50 @@
1
+ <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
+
3
+ [Home](./index.md) &gt; [@genesislcap/foundation-layout](./foundation-layout.md) &gt; [foundationLayoutComponents](./foundation-layout.foundationlayoutcomponents.md)
4
+
5
+ ## foundationLayoutComponents variable
6
+
7
+ > This API is provided as a preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
8
+ >
9
+
10
+ Registration object to register the layout with your design system.
11
+
12
+ **Signature:**
13
+
14
+ ```typescript
15
+ foundationLayoutComponents: {
16
+ foundationLayout: (overrideDefinition?: import("@microsoft/fast-foundation").OverrideFoundationElementDefinition<{
17
+ baseName: string;
18
+ styles: import("@microsoft/fast-element").ElementStyles;
19
+ template: import("@microsoft/fast-element").ViewTemplate<import("./layout-main").FoundationLayout, any>;
20
+ }>) => import("@microsoft/fast-foundation").FoundationElementRegistry<{
21
+ baseName: string;
22
+ styles: import("@microsoft/fast-element").ElementStyles;
23
+ template: import("@microsoft/fast-element").ViewTemplate<import("./layout-main").FoundationLayout, any>;
24
+ }, typeof import("./layout-main").FoundationLayout>;
25
+ foundationLayoutRegion: (overrideDefinition?: import("@microsoft/fast-foundation").OverrideFoundationElementDefinition<{
26
+ baseName: string;
27
+ template: import("@microsoft/fast-element").ViewTemplate<any, any>;
28
+ }>) => import("@microsoft/fast-foundation").FoundationElementRegistry<{
29
+ baseName: string;
30
+ template: import("@microsoft/fast-element").ViewTemplate<any, any>;
31
+ }, typeof import("./layout-region").FoundationLayoutRegion>;
32
+ foundationLayoutItem: (overrideDefinition?: import("@microsoft/fast-foundation").OverrideFoundationElementDefinition<{
33
+ baseName: string;
34
+ template: import("@microsoft/fast-element").ViewTemplate<any, any>;
35
+ }>) => import("@microsoft/fast-foundation").FoundationElementRegistry<{
36
+ baseName: string;
37
+ template: import("@microsoft/fast-element").ViewTemplate<any, any>;
38
+ }, typeof import("./layout-item").FoundationLayoutItem>;
39
+ register(container?: Container, ...rest: any[]): void;
40
+ }
41
+ ```
42
+
43
+ ## Remarks
44
+
45
+ Registers the three layout component types with the design system. You require to use the prefix of the design system with each tag. If you wish to alternate the styles of the layout you only need to compose your own custom version of [FoundationLayout](./foundation-layout.foundationlayout.md) as this contains the styles for the entire layout.
46
+
47
+ ## Example
48
+
49
+ `<zero-layout></zero-layout>` if you are using the layout with the `zero` design-system.
50
+
@@ -0,0 +1,16 @@
1
+ <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
+
3
+ [Home](./index.md) &gt; [@genesislcap/foundation-layout](./foundation-layout.md) &gt; [FoundationLayoutItem](./foundation-layout.foundationlayoutitem.md) &gt; [closable](./foundation-layout.foundationlayoutitem.closable.md)
4
+
5
+ ## FoundationLayoutItem.closable property
6
+
7
+ > This API is provided as a preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
8
+ >
9
+
10
+ Boolean attribute controls whether the window can be closed in the GUI. Defaults to `false`<!-- -->.
11
+
12
+ **Signature:**
13
+
14
+ ```typescript
15
+ closable: boolean;
16
+ ```
@@ -0,0 +1,35 @@
1
+ <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
+
3
+ [Home](./index.md) &gt; [@genesislcap/foundation-layout](./foundation-layout.md) &gt; [FoundationLayoutItem](./foundation-layout.foundationlayoutitem.md)
4
+
5
+ ## FoundationLayoutItem class
6
+
7
+ > This API is provided as a preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
8
+ >
9
+
10
+ `FoundationLayoutItem` is a custom element that represents an item in the layout.
11
+
12
+ **Signature:**
13
+
14
+ ```typescript
15
+ export declare class FoundationLayoutItem extends FoundationElement implements LayoutComponent
16
+ ```
17
+ **Extends:** FoundationElement
18
+
19
+ **Implements:** LayoutComponent
20
+
21
+ ## Remarks
22
+
23
+ This element is used to wrap html elements and configure their layout settings as part of the layout system.
24
+
25
+ This is a simple component which is only used to define the layout splits; any JavaScript API interactions or custom styling is used via [FoundationLayout](./foundation-layout.foundationlayout.md)<!-- -->.
26
+
27
+ ## Properties
28
+
29
+ | Property | Modifiers | Type | Description |
30
+ | --- | --- | --- | --- |
31
+ | [closable](./foundation-layout.foundationlayoutitem.closable.md) | | boolean | **_(BETA)_** Boolean attribute controls whether the window can be closed in the GUI. Defaults to <code>false</code>. |
32
+ | [registration](./foundation-layout.foundationlayoutitem.registration.md) | | string | **_(BETA)_** Sets the registration name for the item, which can be used later to add the item via the JavaScript API using . |
33
+ | [size](./foundation-layout.foundationlayoutitem.size.md) | | string | **_(BETA)_** optional string describing the size of the new item (see the written documentation for more info) |
34
+ | [title](./foundation-layout.foundationlayoutitem.title.md) | | string | **_(BETA)_** Sets the title of the item which is displayed on the tab. |
35
+
@@ -0,0 +1,21 @@
1
+ <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
+
3
+ [Home](./index.md) &gt; [@genesislcap/foundation-layout](./foundation-layout.md) &gt; [FoundationLayoutItem](./foundation-layout.foundationlayoutitem.md) &gt; [registration](./foundation-layout.foundationlayoutitem.registration.md)
4
+
5
+ ## FoundationLayoutItem.registration property
6
+
7
+ > This API is provided as a preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
8
+ >
9
+
10
+ Sets the registration name for the item, which can be used later to add the item via the JavaScript API using .
11
+
12
+ **Signature:**
13
+
14
+ ```typescript
15
+ registration: string;
16
+ ```
17
+
18
+ ## Remarks
19
+
20
+ Items added via the JavaScript API and HTML API share the same pool of registration names. Using a duplicate registration name is a runtime error. This registration name defaults to the number of the window it is. It is highly recommended if you are using the JavaScript API that you set a registration name here manually.
21
+
@@ -0,0 +1,16 @@
1
+ <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
+
3
+ [Home](./index.md) &gt; [@genesislcap/foundation-layout](./foundation-layout.md) &gt; [FoundationLayoutItem](./foundation-layout.foundationlayoutitem.md) &gt; [size](./foundation-layout.foundationlayoutitem.size.md)
4
+
5
+ ## FoundationLayoutItem.size property
6
+
7
+ > This API is provided as a preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
8
+ >
9
+
10
+ optional string describing the size of the new item (see the written documentation for more info)
11
+
12
+ **Signature:**
13
+
14
+ ```typescript
15
+ size: string;
16
+ ```
@@ -0,0 +1,21 @@
1
+ <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
+
3
+ [Home](./index.md) &gt; [@genesislcap/foundation-layout](./foundation-layout.md) &gt; [FoundationLayoutItem](./foundation-layout.foundationlayoutitem.md) &gt; [title](./foundation-layout.foundationlayoutitem.title.md)
4
+
5
+ ## FoundationLayoutItem.title property
6
+
7
+ > This API is provided as a preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
8
+ >
9
+
10
+ Sets the title of the item which is displayed on the tab.
11
+
12
+ **Signature:**
13
+
14
+ ```typescript
15
+ title: string;
16
+ ```
17
+
18
+ ## Remarks
19
+
20
+ Defaults to `Item ` + [FoundationLayoutItem.registration](./foundation-layout.foundationlayoutitem.registration.md)
21
+
@@ -0,0 +1,33 @@
1
+ <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
+
3
+ [Home](./index.md) &gt; [@genesislcap/foundation-layout](./foundation-layout.md) &gt; [FoundationLayoutRegion](./foundation-layout.foundationlayoutregion.md)
4
+
5
+ ## FoundationLayoutRegion class
6
+
7
+ > This API is provided as a preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
8
+ >
9
+
10
+ `FoundationLayoutRegion` is a custom element that represents a region in the layout.
11
+
12
+ **Signature:**
13
+
14
+ ```typescript
15
+ export declare class FoundationLayoutRegion extends FoundationElement implements LayoutComponent
16
+ ```
17
+ **Extends:** FoundationElement
18
+
19
+ **Implements:** LayoutComponent
20
+
21
+ ## Remarks
22
+
23
+ This element is used to create a region in the layout. It can be used to create a horizontal or vertical split, or a tabbed region.
24
+
25
+ This is a simple component which is only used to define the layout splits; any JavaScript API interactions or custom styling is used via [FoundationLayout](./foundation-layout.foundationlayout.md)<!-- -->.
26
+
27
+ ## Properties
28
+
29
+ | Property | Modifiers | Type | Description |
30
+ | --- | --- | --- | --- |
31
+ | [size](./foundation-layout.foundationlayoutregion.size.md) | | string | **_(BETA)_** optional string describing the size of the new item (see the written documentation for more info) |
32
+ | [type](./foundation-layout.foundationlayoutregion.type.md) | | [LayoutRegionType](./foundation-layout.layoutregiontype.md) | **_(BETA)_** Defines the [type](./foundation-layout.layoutregiontype.md) of the region. Defaults to <code>horizontal</code>. |
33
+
@@ -0,0 +1,16 @@
1
+ <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
+
3
+ [Home](./index.md) &gt; [@genesislcap/foundation-layout](./foundation-layout.md) &gt; [FoundationLayoutRegion](./foundation-layout.foundationlayoutregion.md) &gt; [size](./foundation-layout.foundationlayoutregion.size.md)
4
+
5
+ ## FoundationLayoutRegion.size property
6
+
7
+ > This API is provided as a preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
8
+ >
9
+
10
+ optional string describing the size of the new item (see the written documentation for more info)
11
+
12
+ **Signature:**
13
+
14
+ ```typescript
15
+ size: string;
16
+ ```
@@ -0,0 +1,16 @@
1
+ <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
+
3
+ [Home](./index.md) &gt; [@genesislcap/foundation-layout](./foundation-layout.md) &gt; [FoundationLayoutRegion](./foundation-layout.foundationlayoutregion.md) &gt; [type](./foundation-layout.foundationlayoutregion.type.md)
4
+
5
+ ## FoundationLayoutRegion.type property
6
+
7
+ > This API is provided as a preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
8
+ >
9
+
10
+ Defines the [type](./foundation-layout.layoutregiontype.md) of the region. Defaults to `horizontal`<!-- -->.
11
+
12
+ **Signature:**
13
+
14
+ ```typescript
15
+ type: LayoutRegionType;
16
+ ```
@@ -0,0 +1,22 @@
1
+ <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
+
3
+ [Home](./index.md) &gt; [@genesislcap/foundation-layout](./foundation-layout.md) &gt; [LayoutEmitEvents](./foundation-layout.layoutemitevents.md)
4
+
5
+ ## LayoutEmitEvents variable
6
+
7
+ > This API is provided as a preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
8
+ >
9
+
10
+ Defines events that the layout system emits
11
+
12
+ 'firstLoaded' - emitted when the layout has finished loading the first time using the declarative API after [DEFAULT\_RELOAD\_BUFFER](./foundation-layout.default_reload_buffer.md) ms. <br/> 'itemAdded' - emitted when an item is added to the layout' <br/> 'itemRemoved' - emitted when an item is removed from the layout'
13
+
14
+ **Signature:**
15
+
16
+ ```typescript
17
+ LayoutEmitEvents: {
18
+ readonly firstLoaded: "first-loaded";
19
+ readonly itemAdded: "item-added";
20
+ readonly itemRemoved: "item-removed";
21
+ }
22
+ ```
@@ -0,0 +1,20 @@
1
+ <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
+
3
+ [Home](./index.md) &gt; [@genesislcap/foundation-layout](./foundation-layout.md) &gt; [LayoutReceiveEvents](./foundation-layout.layoutreceiveevents.md)
4
+
5
+ ## LayoutReceiveEvents variable
6
+
7
+ > This API is provided as a preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
8
+ >
9
+
10
+ Defines events that the layout system listens for
11
+
12
+ 'changeTitle' - emit this from a contained item to update the title of the window that contains it.
13
+
14
+ **Signature:**
15
+
16
+ ```typescript
17
+ LayoutReceiveEvents: {
18
+ readonly changeTitle: "change-title";
19
+ }
20
+ ```