Replies: 8 comments 5 replies
-
|
Beta Was this translation helpful? Give feedback.
-
html`<section ?data-on=${ this.posts < 0 ? true : false }>` should work. Is |
Beta Was this translation helpful? Give feedback.
-
I have found an HTML / JavaScript glitch.
|
Beta Was this translation helpful? Give feedback.
-
How to bind output of element, to input of another element? but rendered many times inside of a
I tried to make a controller. it only worked 50% for a custom event. |
Beta Was this translation helpful? Give feedback.
-
@justinfagnani The controllers (Do work / Don't work) on some level.. Maybe the controller's eventListener needs to accept an Object, but I pass a function. Because I use customEvent Conclusion: eventListener needs native Event type passed into method, not custome event. |
Beta Was this translation helpful? Give feedback.
-
I think this is getting me somewhere:
|
Beta Was this translation helpful? Give feedback.
-
somehow it all makes sense and almost works! exect for the requestUpdate !!!!! |
Beta Was this translation helpful? Give feedback.
-
the updated figma diagraph is fun. https://www.figma.com/file/H5oNAmlYRnvOKCExRPx1O4/Contractors?node-id=4%3A2 |
Beta Was this translation helpful? Give feedback.
-
I would like to activate a boolean, when posts are greater than 0.
This works, but does not update the render:
<section ?data-on="${ this.posts < 0 ? true : false }">
Beta Was this translation helpful? Give feedback.
All reactions