Can't figure out how to select child component #190
Answered
by
harold
hoclun-rigsep
asked this question in
Q&A
-
Hello. Trying to simulate this selector: .A > .B I can't quite figure out how to do it. |
Beta Was this translation helpful? Give feedback.
Answered by
harold
Mar 21, 2022
Replies: 1 comment 1 reply
-
I think you're looking for this: garden/src/garden/selectors.cljc Lines 984 to 994 in e9d987d And using it looks like this:
Another thing to know is that you can use strings as an escape hatch, so this renders the same:
Hope that helps. |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
hoclun-rigsep
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I think you're looking for this:
garden/src/garden/selectors.cljc
Lines 984 to 994 in e9d987d
And using it looks like this:
Another thing to know is that you can use strings as an escape hatch, so this renders the same: