@genesislcap/foundation-layout 14.408.0 → 14.409.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.
- package/README.md +12 -135
- package/package.json +15 -15
- package/docs/api/foundation-layout.componentfactory.md +0 -46
- package/docs/api/foundation-layout.custombutton.md +0 -21
- package/docs/api/foundation-layout.default_reload_buffer.md +0 -15
- package/docs/api/foundation-layout.foundationlayout.additem.md +0 -80
- package/docs/api/foundation-layout.foundationlayout.autosavekey.md +0 -13
- package/docs/api/foundation-layout.foundationlayout.class.md +0 -18
- package/docs/api/foundation-layout.foundationlayout.clearautosaveandreverttodefault.md +0 -25
- package/docs/api/foundation-layout.foundationlayout.custombuttons.md +0 -18
- package/docs/api/foundation-layout.foundationlayout.dimensionsconfig.md +0 -13
- package/docs/api/foundation-layout.foundationlayout.dragging.md +0 -13
- package/docs/api/foundation-layout.foundationlayout.getlayout.md +0 -23
- package/docs/api/foundation-layout.foundationlayout.hasfirstloaded.md +0 -20
- package/docs/api/foundation-layout.foundationlayout.layoutrequiredregistrations.md +0 -64
- package/docs/api/foundation-layout.foundationlayout.lifecycleupdatetoken.md +0 -18
- package/docs/api/foundation-layout.foundationlayout.loadlayout.md +0 -96
- package/docs/api/foundation-layout.foundationlayout.md +0 -400
- package/docs/api/foundation-layout.foundationlayout.missingitemplaceholder.md +0 -13
- package/docs/api/foundation-layout.foundationlayout.popoutconfig.md +0 -16
- package/docs/api/foundation-layout.foundationlayout.registereditems.md +0 -23
- package/docs/api/foundation-layout.foundationlayout.registeritem.md +0 -108
- package/docs/api/foundation-layout.foundationlayout.reloadbuffer.md +0 -13
- package/docs/api/foundation-layout.foundationlayout.removeitems.md +0 -76
- package/docs/api/foundation-layout.foundationlayout.tryactivatepopoutmode.md +0 -26
- package/docs/api/foundation-layout.foundationlayout.tryloadlayoutfromlocalstorage.md +0 -27
- package/docs/api/foundation-layout.foundationlayoutcomponents.md +0 -47
- package/docs/api/foundation-layout.foundationlayoutitem.closable.md +0 -13
- package/docs/api/foundation-layout.foundationlayoutitem.md +0 -126
- package/docs/api/foundation-layout.foundationlayoutitem.registration.md +0 -36
- package/docs/api/foundation-layout.foundationlayoutitem.size.md +0 -13
- package/docs/api/foundation-layout.foundationlayoutitem.title.md +0 -18
- package/docs/api/foundation-layout.foundationlayoutregion.md +0 -86
- package/docs/api/foundation-layout.foundationlayoutregion.size.md +0 -13
- package/docs/api/foundation-layout.foundationlayoutregion.type.md +0 -13
- package/docs/api/foundation-layout.getfactory.md +0 -56
- package/docs/api/foundation-layout.layout_icons.md +0 -34
- package/docs/api/foundation-layout.layout_popout_container_class.md +0 -16
- package/docs/api/foundation-layout.layout_popout_control_key.md +0 -16
- package/docs/api/foundation-layout.layoutcomponentwithstate.applystate.md +0 -52
- package/docs/api/foundation-layout.layoutcomponentwithstate.getcurrentstate.md +0 -17
- package/docs/api/foundation-layout.layoutcomponentwithstate.md +0 -105
- package/docs/api/foundation-layout.layoutemitevents.md +0 -20
- package/docs/api/foundation-layout.layoutpopoutconfig.md +0 -22
- package/docs/api/foundation-layout.layoutreceiveevents.md +0 -18
- package/docs/api/foundation-layout.layoutreceiveeventsdetail.md +0 -21
- package/docs/api/foundation-layout.layoutregiontype.md +0 -13
- package/docs/api/foundation-layout.layoutregistrationerror._constructor_.md +0 -48
- package/docs/api/foundation-layout.layoutregistrationerror.md +0 -48
- package/docs/api/foundation-layout.layoutstyles.md +0 -18
- package/docs/api/foundation-layout.layouttemplate.md +0 -18
- package/docs/api/foundation-layout.layoutusageerror._constructor_.md +0 -48
- package/docs/api/foundation-layout.layoutusageerror.md +0 -48
- package/docs/api/foundation-layout.md +0 -373
- package/docs/api/foundation-layout.placement.md +0 -25
- package/docs/api/foundation-layout.registeredelementconfig.closable.md +0 -11
- package/docs/api/foundation-layout.registeredelementconfig.md +0 -136
- package/docs/api/foundation-layout.registeredelementconfig.registration.md +0 -11
- package/docs/api/foundation-layout.registeredelementconfig.showmaximisebutton.md +0 -11
- package/docs/api/foundation-layout.registeredelementconfig.size.md +0 -11
- package/docs/api/foundation-layout.registeredelementconfig.title.md +0 -11
- package/docs/api/foundation-layout.registerfactory.md +0 -94
- package/docs/api/foundation-layout.serialisedlayout.md +0 -26
- package/docs/api/foundation-layout.unregisterfactory.md +0 -63
- package/docs/api/index.md +0 -30
- package/docs/api-report.md.api.md +0 -278
|
@@ -1,52 +0,0 @@
|
|
|
1
|
-
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
2
|
-
|
|
3
|
-
[Home](./index.md) > [@genesislcap/foundation-layout](./foundation-layout.md) > [LayoutComponentWithState](./foundation-layout.layoutcomponentwithstate.md) > [applyState](./foundation-layout.layoutcomponentwithstate.applystate.md)
|
|
4
|
-
|
|
5
|
-
## LayoutComponentWithState.applyState() method
|
|
6
|
-
|
|
7
|
-
Handle any state that has been saved previously for this instance of this component. It is not deterministic to know whether this is called before the component is appended to the DOM.
|
|
8
|
-
|
|
9
|
-
**Signature:**
|
|
10
|
-
|
|
11
|
-
```typescript
|
|
12
|
-
applyState(state: T | null): void;
|
|
13
|
-
```
|
|
14
|
-
|
|
15
|
-
## Parameters
|
|
16
|
-
|
|
17
|
-
<table><thead><tr><th>
|
|
18
|
-
|
|
19
|
-
Parameter
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
</th><th>
|
|
23
|
-
|
|
24
|
-
Type
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
</th><th>
|
|
28
|
-
|
|
29
|
-
Description
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
</th></tr></thead>
|
|
33
|
-
<tbody><tr><td>
|
|
34
|
-
|
|
35
|
-
state
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
</td><td>
|
|
39
|
-
|
|
40
|
-
T \| null
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
</td><td>
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
</td></tr>
|
|
47
|
-
</tbody></table>
|
|
48
|
-
|
|
49
|
-
**Returns:**
|
|
50
|
-
|
|
51
|
-
void
|
|
52
|
-
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
2
|
-
|
|
3
|
-
[Home](./index.md) > [@genesislcap/foundation-layout](./foundation-layout.md) > [LayoutComponentWithState](./foundation-layout.layoutcomponentwithstate.md) > [getCurrentState](./foundation-layout.layoutcomponentwithstate.getcurrentstate.md)
|
|
4
|
-
|
|
5
|
-
## LayoutComponentWithState.getCurrentState() method
|
|
6
|
-
|
|
7
|
-
Provide the state you wish to save. It is recommended if the component which implements this interface has not fully initialised at the point this is called that you return `null` as the state, following the pattern of `null` being set as the initial state.
|
|
8
|
-
|
|
9
|
-
**Signature:**
|
|
10
|
-
|
|
11
|
-
```typescript
|
|
12
|
-
getCurrentState(): T;
|
|
13
|
-
```
|
|
14
|
-
**Returns:**
|
|
15
|
-
|
|
16
|
-
T
|
|
17
|
-
|
|
@@ -1,105 +0,0 @@
|
|
|
1
|
-
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
2
|
-
|
|
3
|
-
[Home](./index.md) > [@genesislcap/foundation-layout](./foundation-layout.md) > [LayoutComponentWithState](./foundation-layout.layoutcomponentwithstate.md)
|
|
4
|
-
|
|
5
|
-
## LayoutComponentWithState interface
|
|
6
|
-
|
|
7
|
-
Interface to implement on an item which is a component of the layout and you wish to serialise state with. This is saved separately for each instance of the component, which allows you to restore multiple instances of the same component with different state.
|
|
8
|
-
|
|
9
|
-
**Signature:**
|
|
10
|
-
|
|
11
|
-
```typescript
|
|
12
|
-
export interface LayoutComponentWithState<T>
|
|
13
|
-
```
|
|
14
|
-
|
|
15
|
-
## Remarks
|
|
16
|
-
|
|
17
|
-
When the layout is saved either via the autosave functionality or manually calling [FoundationLayout.getLayout()](./foundation-layout.foundationlayout.getlayout.md)<!-- -->, all contained components will be requested to provide state if they wish.
|
|
18
|
-
|
|
19
|
-
Any state which is provided will be saved as part of the layout config and will be passed back to the component when the layout is loaded with [FoundationLayout.loadLayout()](./foundation-layout.foundationlayout.loadlayout.md) (or via autoloading). The state will be applied to the component via `applyState`<!-- -->, this may be before or after the component has been placed on the DOM, so you'll need to handle either scenario. The state is `null` when the instance is first created.
|
|
20
|
-
|
|
21
|
-
See the written documentation for some error scenarios to consider about when implementing this interface.
|
|
22
|
-
|
|
23
|
-
## Example 1
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
```
|
|
27
|
-
type ComponentState = {
|
|
28
|
-
foo: string;
|
|
29
|
-
}
|
|
30
|
-
\@customElement({ name: 'my-component' })
|
|
31
|
-
export class MyComponent extends FASTElement implements LayoutComponentWithState<ComponentState> {
|
|
32
|
-
\@observable foo: string;
|
|
33
|
-
private fooCache: ComponentState | null;
|
|
34
|
-
|
|
35
|
-
getCurrentState(): ComponentState {
|
|
36
|
-
if (!this.foo) return null;
|
|
37
|
-
return {
|
|
38
|
-
foo: this.foo;
|
|
39
|
-
}
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
applyState(state: ComponentState | null) {
|
|
43
|
-
this.fooCache = state;
|
|
44
|
-
}
|
|
45
|
-
|
|
46
|
-
connectedCallback() {
|
|
47
|
-
// do other required setup
|
|
48
|
-
if (this.fooCache) {
|
|
49
|
-
this.foo = this.fooCache.foo;
|
|
50
|
-
}
|
|
51
|
-
}
|
|
52
|
-
}
|
|
53
|
-
```
|
|
54
|
-
|
|
55
|
-
## Example 2
|
|
56
|
-
|
|
57
|
-
If you are using the autosave functionality you should inform the layout system when you update the state of a component, otherwise the state will only be updated when the user performs an action such as resizing an item. Use the [LayoutReceiveEvents](./foundation-layout.layoutreceiveevents.md) `autosave` event.
|
|
58
|
-
|
|
59
|
-
```
|
|
60
|
-
// Same component as above
|
|
61
|
-
export class MyComponent extends FASTElement implements LayoutComponentWithState<ComponentState> {
|
|
62
|
-
// can use xChanged pattern as `foo` was declared observable
|
|
63
|
-
fooChanged() {
|
|
64
|
-
this.$emit(LayoutReceiveEvents.autosave);
|
|
65
|
-
}
|
|
66
|
-
}
|
|
67
|
-
```
|
|
68
|
-
|
|
69
|
-
## Methods
|
|
70
|
-
|
|
71
|
-
<table><thead><tr><th>
|
|
72
|
-
|
|
73
|
-
Method
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
</th><th>
|
|
77
|
-
|
|
78
|
-
Description
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
</th></tr></thead>
|
|
82
|
-
<tbody><tr><td>
|
|
83
|
-
|
|
84
|
-
[applyState(state)](./foundation-layout.layoutcomponentwithstate.applystate.md)
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
</td><td>
|
|
88
|
-
|
|
89
|
-
Handle any state that has been saved previously for this instance of this component. It is not deterministic to know whether this is called before the component is appended to the DOM.
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
</td></tr>
|
|
93
|
-
<tr><td>
|
|
94
|
-
|
|
95
|
-
[getCurrentState()](./foundation-layout.layoutcomponentwithstate.getcurrentstate.md)
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
</td><td>
|
|
99
|
-
|
|
100
|
-
Provide the state you wish to save. It is recommended if the component which implements this interface has not fully initialised at the point this is called that you return `null` as the state, following the pattern of `null` being set as the initial state.
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
</td></tr>
|
|
104
|
-
</tbody></table>
|
|
105
|
-
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
2
|
-
|
|
3
|
-
[Home](./index.md) > [@genesislcap/foundation-layout](./foundation-layout.md) > [LayoutEmitEvents](./foundation-layout.layoutemitevents.md)
|
|
4
|
-
|
|
5
|
-
## LayoutEmitEvents variable
|
|
6
|
-
|
|
7
|
-
Defines events that the layout system emits
|
|
8
|
-
|
|
9
|
-
'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' <br/> 'itemResized' - emitted when the user drags the divider to resize elements
|
|
10
|
-
|
|
11
|
-
**Signature:**
|
|
12
|
-
|
|
13
|
-
```typescript
|
|
14
|
-
LayoutEmitEvents: {
|
|
15
|
-
readonly firstLoaded: "first-loaded";
|
|
16
|
-
readonly itemAdded: "item-added";
|
|
17
|
-
readonly itemRemoved: "item-removed";
|
|
18
|
-
readonly itemResized: "item-resized";
|
|
19
|
-
}
|
|
20
|
-
```
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
2
|
-
|
|
3
|
-
[Home](./index.md) > [@genesislcap/foundation-layout](./foundation-layout.md) > [LayoutPopoutConfig](./foundation-layout.layoutpopoutconfig.md)
|
|
4
|
-
|
|
5
|
-
## LayoutPopoutConfig type
|
|
6
|
-
|
|
7
|
-
> This API is provided as a beta preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
|
|
8
|
-
>
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
**Signature:**
|
|
12
|
-
|
|
13
|
-
```typescript
|
|
14
|
-
export type LayoutPopoutConfig = {
|
|
15
|
-
channelName?: string;
|
|
16
|
-
loadAutomatically?: boolean;
|
|
17
|
-
popoutDimension?: {
|
|
18
|
-
width: number;
|
|
19
|
-
height: number;
|
|
20
|
-
};
|
|
21
|
-
};
|
|
22
|
-
```
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
2
|
-
|
|
3
|
-
[Home](./index.md) > [@genesislcap/foundation-layout](./foundation-layout.md) > [LayoutReceiveEvents](./foundation-layout.layoutreceiveevents.md)
|
|
4
|
-
|
|
5
|
-
## LayoutReceiveEvents variable
|
|
6
|
-
|
|
7
|
-
Defines events that the layout system listens for
|
|
8
|
-
|
|
9
|
-
'changeTitle' - emit this from a contained item to update the title of the window that contains it. 'autosave' - emit this from a contained item to hint to the layout system that it should autosave the layout. A contained item should do this if it has just changed some state it would like to persist. See [LayoutComponentWithState](./foundation-layout.layoutcomponentwithstate.md)<!-- -->.
|
|
10
|
-
|
|
11
|
-
**Signature:**
|
|
12
|
-
|
|
13
|
-
```typescript
|
|
14
|
-
LayoutReceiveEvents: {
|
|
15
|
-
readonly changeTitle: "change-title";
|
|
16
|
-
readonly autosave: "autosave";
|
|
17
|
-
}
|
|
18
|
-
```
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
2
|
-
|
|
3
|
-
[Home](./index.md) > [@genesislcap/foundation-layout](./foundation-layout.md) > [LayoutReceiveEventsDetail](./foundation-layout.layoutreceiveeventsdetail.md)
|
|
4
|
-
|
|
5
|
-
## LayoutReceiveEventsDetail type
|
|
6
|
-
|
|
7
|
-
Defines the shape of the detail that the layout listens works with for events it listens on
|
|
8
|
-
|
|
9
|
-
'changeTitle' - `title` is the string you want to set. For `mode`<!-- -->: `replace` will set the title to be `title`<!-- -->, `suffix` will append `title` to the end of the existing title. 'autosave' - no other parameters.
|
|
10
|
-
|
|
11
|
-
**Signature:**
|
|
12
|
-
|
|
13
|
-
```typescript
|
|
14
|
-
export type LayoutReceiveEventsDetail = {
|
|
15
|
-
changeTitle: {
|
|
16
|
-
title: string;
|
|
17
|
-
mode: 'replace' | 'suffix';
|
|
18
|
-
};
|
|
19
|
-
autosave: void;
|
|
20
|
-
};
|
|
21
|
-
```
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
2
|
-
|
|
3
|
-
[Home](./index.md) > [@genesislcap/foundation-layout](./foundation-layout.md) > [LayoutRegionType](./foundation-layout.layoutregiontype.md)
|
|
4
|
-
|
|
5
|
-
## LayoutRegionType type
|
|
6
|
-
|
|
7
|
-
Union type describing the three different types of region splits. Set on the `type` attribute on [FoundationLayoutRegion](./foundation-layout.foundationlayoutregion.md)<!-- -->.
|
|
8
|
-
|
|
9
|
-
**Signature:**
|
|
10
|
-
|
|
11
|
-
```typescript
|
|
12
|
-
export type LayoutRegionType = (typeof layoutRegionValue)[number];
|
|
13
|
-
```
|
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
2
|
-
|
|
3
|
-
[Home](./index.md) > [@genesislcap/foundation-layout](./foundation-layout.md) > [LayoutRegistrationError](./foundation-layout.layoutregistrationerror.md) > [(constructor)](./foundation-layout.layoutregistrationerror._constructor_.md)
|
|
4
|
-
|
|
5
|
-
## LayoutRegistrationError.(constructor)
|
|
6
|
-
|
|
7
|
-
Constructs a new instance of the `LayoutRegistrationError` class
|
|
8
|
-
|
|
9
|
-
**Signature:**
|
|
10
|
-
|
|
11
|
-
```typescript
|
|
12
|
-
constructor(message: string);
|
|
13
|
-
```
|
|
14
|
-
|
|
15
|
-
## Parameters
|
|
16
|
-
|
|
17
|
-
<table><thead><tr><th>
|
|
18
|
-
|
|
19
|
-
Parameter
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
</th><th>
|
|
23
|
-
|
|
24
|
-
Type
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
</th><th>
|
|
28
|
-
|
|
29
|
-
Description
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
</th></tr></thead>
|
|
33
|
-
<tbody><tr><td>
|
|
34
|
-
|
|
35
|
-
message
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
</td><td>
|
|
39
|
-
|
|
40
|
-
string
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
</td><td>
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
</td></tr>
|
|
47
|
-
</tbody></table>
|
|
48
|
-
|
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
2
|
-
|
|
3
|
-
[Home](./index.md) > [@genesislcap/foundation-layout](./foundation-layout.md) > [LayoutRegistrationError](./foundation-layout.layoutregistrationerror.md)
|
|
4
|
-
|
|
5
|
-
## LayoutRegistrationError class
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
**Signature:**
|
|
9
|
-
|
|
10
|
-
```typescript
|
|
11
|
-
export declare class LayoutRegistrationError extends Error
|
|
12
|
-
```
|
|
13
|
-
**Extends:** Error
|
|
14
|
-
|
|
15
|
-
## Constructors
|
|
16
|
-
|
|
17
|
-
<table><thead><tr><th>
|
|
18
|
-
|
|
19
|
-
Constructor
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
</th><th>
|
|
23
|
-
|
|
24
|
-
Modifiers
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
</th><th>
|
|
28
|
-
|
|
29
|
-
Description
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
</th></tr></thead>
|
|
33
|
-
<tbody><tr><td>
|
|
34
|
-
|
|
35
|
-
[(constructor)(message)](./foundation-layout.layoutregistrationerror._constructor_.md)
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
</td><td>
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
</td><td>
|
|
42
|
-
|
|
43
|
-
Constructs a new instance of the `LayoutRegistrationError` class
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
</td></tr>
|
|
47
|
-
</tbody></table>
|
|
48
|
-
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
2
|
-
|
|
3
|
-
[Home](./index.md) > [@genesislcap/foundation-layout](./foundation-layout.md) > [layoutStyles](./foundation-layout.layoutstyles.md)
|
|
4
|
-
|
|
5
|
-
## layoutStyles variable
|
|
6
|
-
|
|
7
|
-
`ElementStyles` which defines the css for [FoundationLayout](./foundation-layout.foundationlayout.md)<!-- -->.
|
|
8
|
-
|
|
9
|
-
**Signature:**
|
|
10
|
-
|
|
11
|
-
```typescript
|
|
12
|
-
layoutStyles: import("@microsoft/fast-element").ElementStyles
|
|
13
|
-
```
|
|
14
|
-
|
|
15
|
-
## Remarks
|
|
16
|
-
|
|
17
|
-
Can be used in a composition to customise the styles of the layout.
|
|
18
|
-
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
2
|
-
|
|
3
|
-
[Home](./index.md) > [@genesislcap/foundation-layout](./foundation-layout.md) > [layoutTemplate](./foundation-layout.layouttemplate.md)
|
|
4
|
-
|
|
5
|
-
## layoutTemplate variable
|
|
6
|
-
|
|
7
|
-
`ViewTemplate` which defines the html for [FoundationLayout](./foundation-layout.foundationlayout.md)<!-- -->.
|
|
8
|
-
|
|
9
|
-
**Signature:**
|
|
10
|
-
|
|
11
|
-
```typescript
|
|
12
|
-
layoutTemplate: import("@microsoft/fast-element").ViewTemplate<FoundationLayout, any>
|
|
13
|
-
```
|
|
14
|
-
|
|
15
|
-
## Remarks
|
|
16
|
-
|
|
17
|
-
Can be used in a composition to customise the styles of the layout.
|
|
18
|
-
|
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
2
|
-
|
|
3
|
-
[Home](./index.md) > [@genesislcap/foundation-layout](./foundation-layout.md) > [LayoutUsageError](./foundation-layout.layoutusageerror.md) > [(constructor)](./foundation-layout.layoutusageerror._constructor_.md)
|
|
4
|
-
|
|
5
|
-
## LayoutUsageError.(constructor)
|
|
6
|
-
|
|
7
|
-
Constructs a new instance of the `LayoutUsageError` class
|
|
8
|
-
|
|
9
|
-
**Signature:**
|
|
10
|
-
|
|
11
|
-
```typescript
|
|
12
|
-
constructor(message: string);
|
|
13
|
-
```
|
|
14
|
-
|
|
15
|
-
## Parameters
|
|
16
|
-
|
|
17
|
-
<table><thead><tr><th>
|
|
18
|
-
|
|
19
|
-
Parameter
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
</th><th>
|
|
23
|
-
|
|
24
|
-
Type
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
</th><th>
|
|
28
|
-
|
|
29
|
-
Description
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
</th></tr></thead>
|
|
33
|
-
<tbody><tr><td>
|
|
34
|
-
|
|
35
|
-
message
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
</td><td>
|
|
39
|
-
|
|
40
|
-
string
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
</td><td>
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
</td></tr>
|
|
47
|
-
</tbody></table>
|
|
48
|
-
|
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
2
|
-
|
|
3
|
-
[Home](./index.md) > [@genesislcap/foundation-layout](./foundation-layout.md) > [LayoutUsageError](./foundation-layout.layoutusageerror.md)
|
|
4
|
-
|
|
5
|
-
## LayoutUsageError class
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
**Signature:**
|
|
9
|
-
|
|
10
|
-
```typescript
|
|
11
|
-
export declare class LayoutUsageError extends Error
|
|
12
|
-
```
|
|
13
|
-
**Extends:** Error
|
|
14
|
-
|
|
15
|
-
## Constructors
|
|
16
|
-
|
|
17
|
-
<table><thead><tr><th>
|
|
18
|
-
|
|
19
|
-
Constructor
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
</th><th>
|
|
23
|
-
|
|
24
|
-
Modifiers
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
</th><th>
|
|
28
|
-
|
|
29
|
-
Description
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
</th></tr></thead>
|
|
33
|
-
<tbody><tr><td>
|
|
34
|
-
|
|
35
|
-
[(constructor)(message)](./foundation-layout.layoutusageerror._constructor_.md)
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
</td><td>
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
</td><td>
|
|
42
|
-
|
|
43
|
-
Constructs a new instance of the `LayoutUsageError` class
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
</td></tr>
|
|
47
|
-
</tbody></table>
|
|
48
|
-
|