Skip to content
This repository has been archived by the owner on Mar 7, 2023. It is now read-only.

Add a native _dynamic attribute support in EnderCompiler #31

Open
0xENDER opened this issue Apr 10, 2021 · 0 comments
Open

Add a native _dynamic attribute support in EnderCompiler #31

0xENDER opened this issue Apr 10, 2021 · 0 comments
Labels
enhancement New feature or request

Comments

@0xENDER
Copy link
Contributor

0xENDER commented Apr 10, 2021

So EnderCompiler will check the syntax of the dynamic data, and the data can be put anywhere in the element.
So this:

<div id="element" @@(rule)(unload)>...</div>
<div _dynamic="name1">...</div>
<div @@(defineder)(name2) @@(rule)(constant)>...</div>

Would be compiled to:

<div id="element" _dynamic="@@(rule)(unload)">...</div>
<div _dynamic="name1" >...</div>
<div _dynamic="@@(defineder)(name2) @@(rule)(constant)">...</div>
@0xENDER 0xENDER added the enhancement New feature or request label Apr 10, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant