-
-
Notifications
You must be signed in to change notification settings - Fork 32
Open
Labels
good first issueGood for newcomersGood for newcomers
Description
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.
Metadata
Metadata
Assignees
Labels
good first issueGood for newcomersGood for newcomers