-
-
Notifications
You must be signed in to change notification settings - Fork 23
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Text fragment support #13
Labels
Comments
With new version v0.9.0, component.nodeMountingPoint = new TextFragment({text: 'Hello World!'})
component.listMountingPoint.push(new TextFragment({text: 'Hello ef.js!'}))
component.listMountingPoint.push(new TextFragment({text: 'Hello text fragments!'}))
|
Fixed in v0.9.1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Now we have mounting points and list mounting points, which can handle all ef-components at ease. But times when people want only to put a line of text into the mounting points, things gets really hard. Maybe we can have text fragments supported, which can also be helpful when jsx(#3) gets supported.
For Example:
could be rendered as:
while with jsx support, we can have:
The text was updated successfully, but these errors were encountered: