trait getValue
and setValue
functions are not called.
#5237
Unanswered
srinivasskeme
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I am adding a trait to component at runtime using
Component.addTrait
. I am constructing the objectTraitProperties
.The requirement is that this trait will exist on all components. It needs to read value from body component and set value back to component.
I tried building this with
getValue
andsetValue
functions. This doesn't seem to work.Sample trait created
I tried with
changeProp
valuetrue
andfalse
Beta Was this translation helpful? Give feedback.
All reactions