3 ms·
Not true! You can pass any object. In Lit, just put a dot before the attribute name: <my-component .array=${[1,2,3]} .object=${{this: that, another}} .var=${my
by dtagames 4y ago
Not true! You can pass any object. In Lit, just put a dot before the attribute name:
<my-component .array=${[1,2,3]} .object=${{this: that, another}} .var=${mySomething}></my-component>
I did a series on Medium. Maybe one of these would be of help to you:
https://link.medium.com/HNhigMgvAxb https://link.medium.com/HNhigMgvAxb
https://link.medium.com/TNiNHDkvAxb https://link.medium.com/TNiNHDkvAxb