Skip to content

Commit 2011cee

Browse files
committed
FInished doc pages
1 parent 25702f0 commit 2011cee

File tree

3 files changed

+11
-12
lines changed

3 files changed

+11
-12
lines changed

api/components/pi-component.md

-4
Original file line numberDiff line numberDiff line change
@@ -38,10 +38,6 @@ All events are emitted through the Picard.js event system.
3838

3939
```ts
4040
interface ChangedDataEvent {
41-
/**
42-
* The previously deserialized data.
43-
*/
44-
previous: any;
4541
/**
4642
* The currently deserialized data.
4743
*/

api/configuration/index.md

+4-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
11
# Configuration Overview
22

3-
...
3+
The following configuration sections exist:
4+
5+
- [Initialization Options](./options.md)
6+
- [Runtime Services](./services.md)

api/lifecycle/index.md

+7-7
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,14 @@
44

55
| Name | Region | Arguments | Returns |
66
| ----------------- | ------ | ----------------------------------------------------- | ----------------- |
7-
| `load` | Client | | `Promise` |
8-
| `unload` | Client | | `Promise` |
9-
| `mount` | Client | `container` (HTMLElement), `props` (1), `locals`: (2) | |
10-
| `unmount` | Client | `container` (HTMLElement), `locals` (2) | |
11-
| `update` | Client | `props` (1), `locals` (2) | |
12-
| `bootstrap` | Server | | `Promise` |
7+
| `load` | Client | | `Promise<void>` |
8+
| `unload` | Client | | `Promise<void>` |
9+
| `mount` | Client | `container` (HTMLElement), `props` (1), `locals` (2) | `void` |
10+
| `unmount` | Client | `container` (HTMLElement), `locals` (2) | `void` |
11+
| `update` | Client | `props` (1), `locals` (2) | `void` |
12+
| `bootstrap` | Server | | `Promise<void>` |
1313
| `stringify` | Server | `props` (1) | `Promise<string>` |
1414

1515
(1) the `props` are the deserialized object from the `data` property
1616

17-
(2) the `locals` is an (initially) empty object that can be used at will to transport information between the different lifecycles; it is created per component instance
17+
(2) the `locals` is an (initially) empty object that can be used at will to transport information between the different lifecycle methods; it is created per component instance

0 commit comments

Comments
 (0)