rimmel icon indicating copy to clipboard operation
rimmel copied to clipboard

CSS Object ignored when sinked through a Mixin

Open dariomannu opened this issue 3 months ago • 3 comments

Attribute Mixins should support sinking CSS when emitted as an object.

They work with strings, as per this example:

Relevant code: https://github.com/ReactiveHTML/rimmel/blob/master/src/sinks/mixin-sink.ts https://github.com/ReactiveHTML/rimmel/blob/master/src/sinks/attribute-sink.ts

Hint: to trace down what Rimmel is doing in the parser in a specific location, you can open devtools and add a rml:debugger attribute to a template, right before the thing you want to debug, like this:

<div rml:debugger foo="${bar}">

The code will pause at that very parsing step, making it easier to see what's going on. Work on local, with a dev build of Rimmel, not the prod one, to make it easier to do step-by-steps.

dariomannu avatar Sep 21 '25 19:09 dariomannu

Assign this issue to me.

Harishchandra-26 avatar Oct 04 '25 04:10 Harishchandra-26

Hi @Harishchandra-26, welcome to the club!

This is all yours now. If you need any help or you find anything unclear, just shout.

dariomannu avatar Oct 04 '25 10:10 dariomannu

Hi @Harishchandra-26 any update on this issue, by any chance?

dariomannu avatar Nov 07 '25 13:11 dariomannu