From 03f2b151816624520898f5ca6e98b71cef17e915 Mon Sep 17 00:00:00 2001 From: Tan Li Hau Date: Sun, 28 Feb 2021 02:46:30 +0800 Subject: [PATCH] update docs for the context in constructor --- site/content/docs/03-run-time.md | 1 + 1 file changed, 1 insertion(+) diff --git a/site/content/docs/03-run-time.md b/site/content/docs/03-run-time.md index 386c18d5fd..293f2c65a5 100644 --- a/site/content/docs/03-run-time.md +++ b/site/content/docs/03-run-time.md @@ -904,6 +904,7 @@ The following initialisation options can be provided: | `target` | **none** | An `HTMLElement` to render to. This option is required | `anchor` | `null` | A child of `target` to render the component immediately before | `props` | `{}` | An object of properties to supply to the component +| `context` | `{}` | An object of context to supply to the component | `hydrate` | `false` | See below | `intro` | `false` | If `true`, will play transitions on initial render, rather than waiting for subsequent state changes