Skip to content

How can I use conditional Components in Trame? #506

Answered by jourdain
dougbrennan asked this question in General
Discussion options

You must be logged in to vote

I'm not sure what you mean by not supporting v_if. Since it is a directive it is supported by every component by default.

You can use raw_attrs=[':is="active_component"'], (see api)

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@dougbrennan
Comment options

Answer selected by dougbrennan
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants