Skip to content

Commit

Permalink
Improve README
Browse files Browse the repository at this point in the history
  • Loading branch information
askonomm committed Nov 5, 2024
1 parent 5f49aa5 commit 58e9f82
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -152,10 +152,10 @@ The partial will inherit the data dictionary that the parent template has, so yo
Inner partials also support interpolated expressions, so you can get partials dynamically, like so:

```html
<div x:inner-partial="{partial}"></div>
<div x:inner-partial="parts.{partial}"></div>
```

Where `partial` is a key in the Data dictionary that contains a string with a valid Htmt template.
Where `partial` is `{ "partial", "something" }`, and then `parts.something` would be the partial template it will load.

### `x:outer-partial`

Expand All @@ -181,10 +181,10 @@ The partial will inherit the data dictionary that the parent template has, so yo
Outer partials also support interpolated expressions, so you can get partials dynamically, like so:

```html
<div x:outer-partial="{partial}"></div>
<div x:outer-partial="parts.{partial}"></div>
```

Where `partial` is a key in the Data dictionary that contains a string with a valid Htmt template.
Where `partial` is `{ "partial", "something" }`, and then `parts.something` would be the partial template it will load.

### `x:if`

Expand Down

0 comments on commit 58e9f82

Please sign in to comment.