Skip to content

Commit 727a193

Browse files
committed
update README
1 parent b21b568 commit 727a193

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ To add an event handler, add a `x-on` custom attribute (shorthand starting with
2828
Attributes containing a dot `.` character in their name are not allowed in Webflow. To bypass this limitation, use another `:` character instead. For example, add `x-on:click:away` attribute with value `open = false`.
2929

3030
## Conditional statements
31-
In Webflow we cannot create a `<template>` element in the designer, and this is necessary for `x-if` conditional. To solve this issue, this script automatically transforms any element containing `x-if` into `<template>`. For example we can create a conditional Div Block with `x-if` attribute with `open` value.
31+
In Webflow it's not possible to create a `<template>` element in the designer, and it is necessary for `x-if` conditionals. To solve this issue, this script automatically transforms any element containing `x-if` into `<template>`. For example we can create a conditional Div Block with `x-if` attribute with `open` value.
3232

3333
## For loops
3434
Similarly to conditional statements, any element containing `x-for` is automatically converted to `<template>`. For example, to initialize a loop, simply create a div block with `x-for` attribute equal to `item in items`, and `x-bind:key` attribute with value `item`.

0 commit comments

Comments
 (0)