Skip to Content
0
Former Member
Aug 11, 2016 at 01:38 PM

Extending existing control, problem in tootip.

32 Views

Hi All,

i am trying to extend the existing control and i am trying to write the setter method like below for an button.

setTooltip : function(value){

this.setProperty("tooltip",value);

},

i am just exploring , i have read that if we overwrite the setter method it will increase performance through stopping re rendering , this.setProperty("tooltip",value,true); , what i am trying is to overwrite the tooltip setter method.but it's getting an error.

can you tell me the any restrictions for setters.

Kotesh Adabala.