Replies: 2 comments
-
Show the complete code please |
Beta Was this translation helpful? Give feedback.
0 replies
-
I found example suggest to use this.getTrait().attributes, but it seems I should just use this.attributes |
Beta Was this translation helpful? Give feedback.
0 replies
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.
-
After upgrade to new API like below, I got error loadTraits doesn't exist. I wonder with the new API how does it inherit defaultModel?
Components.addType('component-id', {
model: defaultModel.extend({
to
Components.addType('component-id', {
model: {
Beta Was this translation helpful? Give feedback.
All reactions