From d119b48a906345fb54272076c28bd0e22052a126 Mon Sep 17 00:00:00 2001 From: Rich Harris Date: Sat, 30 Dec 2017 11:21:33 -0500 Subject: [PATCH] fix README --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 813d47e800..ee5a4c1b77 100644 --- a/README.md +++ b/README.md @@ -81,6 +81,7 @@ The Svelte compiler optionally takes a second argument, an object of configurati | `hydratable` | `true`, `false` | Whether to support hydration on the compiled component. | `false` | | `customElement` | `true`, `false`, `{ tag, props }` | Whether to compile this component to a custom element. If `tag`/`props` are passed, compiles to a custom element and overrides the values exported by the component. | `false` | | `cascade` | `true`, `false` | Whether to cascade all of the component's styles to child components. If `false`, only selectors wrapped in `:global(...)` and keyframe IDs beginning with `-global-` are cascaded. | `true` | +| `bind` | `boolean` | If `false`, disallows `bind:` directives | `true` | | | | | | `shared` | `true`, `false`, `string` | Whether to import various helpers from a shared external library. When you have a project with multiple components, this reduces the overall size of your JavaScript bundle, at the expense of having immediately-usable component. You can pass a string of the module path to use, or `true` will import from `'svelte/shared.js'`. | `false` | | `legacy` | `true`, `false` | Ensures compatibility with very old browsers, at the cost of some extra code. | `false` | @@ -93,7 +94,6 @@ The Svelte compiler optionally takes a second argument, an object of configurati | | | | | `onerror` | `function` | Specify a callback for when Svelte encounters an error while compiling the component. Passed two arguments: the error object, and another function that is Svelte's default onerror handling. | (exception is thrown) | | `onwarn` | `function` | Specify a callback for when Svelte encounters a non-fatal warning while compiling the component. Passed two arguments: the warning object, and another function that is Svelte's default onwarn handling. | (warning is logged to console) | -| `bind` | `boolean` | If `false`, disallows `bind:` directives | ### Preprocessor options