Skip to content

Commit a4b8c5d

Browse files
Update README.md
1 parent fec9d1f commit a4b8c5d

File tree

1 file changed

+25
-3
lines changed

1 file changed

+25
-3
lines changed

README.md

Lines changed: 25 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -210,12 +210,16 @@ The following add event types to HTML tags:
210210
- EG: **Set Get Event In Form Listener** - Value: `Html Event Listener|{Output Place}`
211211
- Et: **Set Tag Event** - Value: `Html Event|{Output Place}`
212212
- ET: **Set Tag Event Listener** - Value: `Html Event Listener|{Output Place}`
213+
- Ew: **Set WebSocket Event** - Value: `Html Event|Path`
214+
- EW: **Set WebSocket Event Listener** - Value: `Html Event Listener|Path`
213215
- Rp: **Remove Post Event** - Value: `Html Event`
214216
- RP: **Remove Post Event Listener** - Value: `Html Event Listener`
215217
- Rg: **Remove Get Event** - Value: `Html Event`
216218
- RG: **Remove Get Event Listener** - Value: `Html Event Listener`
217219
- Rt: **Remove Tag Event** - Value: `Html Event`
218220
- RT: **Remove Tag Event Listener** - Value: `Html Event Listener`
221+
- Rt: **Remove WebSocket Event** - Value: `Html Event`
222+
- RT: **Remove WebSocket Event Listener** - Value: `Html Event Listener`
219223

220224
### Save
221225

@@ -297,6 +301,24 @@ Example:
297301

298302
The above example is the same as the previous example, except that it is executed after 10 seconds.
299303

304+
### Index
305+
306+
The following items are related to multiple answers:
307+
308+
- #: **Start Index** - Value: `{Name}`
309+
310+
### Enable
311+
312+
The following items enable and disable some features:
313+
314+
- ew: **Enable WebSocket** - Value: `@ (for enable once) or 1 or 0`
315+
316+
### Use
317+
318+
The following items determine the use of some features:
319+
320+
- uw: **Use WebSocket** - Value: `path`
321+
300322
## Define the tag
301323

302324
After the first two characters, there are 6 status types that define the tag:
@@ -308,7 +330,7 @@ After the first two characters, there are 6 status types that define the tag:
308330
- Based on `query`: Identifies the tag based on the `query`. The query string is placed after the (`*`) character , and then the character (`=`) is placed after it. If there are equal characters (`=`) in the query value, they should be replaced by `$[eq];` string.
309331
- Based on `query all`: It applies to multiple tags and identifies tags based on "query". The query string is placed after the (`[`) character , and then the character (`=`) is placed after it. If there are equal characters (`=`) in the query value, they should be replaced by `$[eq];` string.
310332

311-
> Note: By default, the indexes of the `name`, `class name`, and `tag name` are set to `0`.
333+
> Note: By default, the es of the `name`, `class name`, and `tag name` are set to `0`.
312334
313335
Example: Action control with the value `de<li>=1` is not different from the value `de<li>0=1`.
314336

@@ -382,7 +404,7 @@ bc<body>=green
382404

383405
Multiple-Responses is a useful feature in WebFormsJS that allows us to send multiple related responses in a single server response. The multi-response feature is a functionality similar to a JavaScript file that contains multiple offline functions (things that are not requested from the server).
384406

385-
In multiple-responses, action controls are separated by a `#` character. To execute the response, we need to add the `#` character and the index to the end of the path.
407+
In multiple-responses, action controls are separated by a `#` character. To execute the response, we need to add the `#` character and the to the end of the path.
386408

387409
Example:
388410

@@ -398,7 +420,7 @@ fs<li>1=24px
398420
#
399421
ac(gender)2=my-css-class
400422
sv(email)=myemail@gmail.com
401-
#=MyIndex
423+
#=My
402424
as[h2:nth-of-type(2)=margin:10px 20px
403425
bc<form>|<p>=violet
404426
tc<form>|<p>=yellow

0 commit comments

Comments
 (0)