Best practice for accessing properties in renderAdd/renderUpdate client method

I start writing my own component. Everything works fine so far - nice tutorial by the way.
But was is the best practice for reading my custom properties within the clientSide Javascript methods
renderAdd & renderUpdate ?

I´m using "this.component._localStyle.myProperty;"
Works - but is this the recommended way ?

ScoPi's picture

Nope! Use

Nope! Use this.component.get() to get a property and this.component.set() to set a property.