diff --git a/README.md b/README.md index 4248235..9573886 100644 --- a/README.md +++ b/README.md @@ -43,8 +43,8 @@ ExampleElement.observedAttributes; // readonly ('user-id' | 'min' | 'is-ready' | - **Props** are stored as values and reflected to attributes; attribute changes decode back. `onPropChange` fires once per real change from either side. - **Attribute names**: an explicit `attribute` is used verbatim; otherwise `kebab(key)`, with `disable-` for `disable()` and `data-` in front when `dataPrefix: true`. - **Codecs**: `string`, `number`, `enable`, `disable`, `choice([...])`, `json()`, `prop({ default, decode, encode })`. -- **Shadow DOM**: `shadow` attaches a root and clones `template` into it; `css` is a shared adopted stylesheet. An existing declarative shadow root is used instead (and `shadow`/`template` are ignored). `root` is the shadow root (even when closed) or the element itself. -- **Light DOM**: `template` is appended on first connect; `css` is added once per element type, as a `