I have a stamp with a method that uses get style function:
methods: {
/**
* @returns {string}
*/
get label() {
return this.state.label.target
},
...
I also have a few methods that I am trying to set up for defer style collision so that they are all called (instead of the last one).
It appears that when I use these two features together, I get an error that this.state is undefined. Using console.trace I am lead believe that this line of code is "calling" my getter:
https://github.com/stampit-org/stamp/blob/master/packages/collision/index.js#L146
I have a stamp with a method that uses
getstyle function:I also have a few methods that I am trying to set up for
deferstyle collision so that they are all called (instead of the last one).It appears that when I use these two features together, I get an error that
this.stateis undefined. Using console.trace I am lead believe that this line of code is "calling" my getter:https://github.com/stampit-org/stamp/blob/master/packages/collision/index.js#L146