This is a migrated thread and some comments may be shown as answers.

ToggleClass

5 Answers 225 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Mat-Moo
Top achievements
Rank 1
Mat-Moo asked on 10 Jan 2013, 03:06 PM
How do I change the transition on a kendoToggleClass? e.g
function toggle_button(e) {
    e.button.kendoToggleClass('not-complete', {transition:'linear'});
};
Can't work out the syntax...

5 Answers, 1 is accepted

Sort by
0
Kristian D. Dimitrov
Telerik team
answered on 14 Jan 2013, 03:03 PM
Hello Mat-Moo,

 This Kendo method is not offically documented. Here is an example how it is used. The option you need is "ease". Hope this helps.

Kind regards,
kdimitrov
the Telerik team

Share feedback and vote for features on our Feedback Portal.
Want some Kendo UI online training - head over to Pluralsight.
0
Mat-Moo
Top achievements
Rank 1
answered on 15 Jan 2013, 07:45 AM
Is it not official, or just not documented? 
0
Jordan
Telerik team
answered on 15 Jan 2013, 08:04 AM
Hello Mat-Moo,

It's internal method and is not official/public so that's the reason not being documented.
You can still use it but as internal method it may be changed by Kendo UI team in the feature.

Regards,
Jordan
the Telerik team

Share feedback and vote for features on our Feedback Portal.
Want some Kendo UI online training - head over to Pluralsight.
0
Mat-Moo
Top achievements
Rank 1
answered on 15 Jan 2013, 07:25 PM
Thanks Jordan. Should I just be using jquery toggle class instead then?
0
Jordan
Telerik team
answered on 17 Jan 2013, 05:01 AM
Hi Mat-Moo,

If it works for you just use it, much better than that undocumented method. 

Regards,
Jordan
the Telerik team

Share feedback and vote for features on our Feedback Portal.
Want some Kendo UI online training - head over to Pluralsight.
Tags
General Discussions
Asked by
Mat-Moo
Top achievements
Rank 1
Answers by
Kristian D. Dimitrov
Telerik team
Mat-Moo
Top achievements
Rank 1
Jordan
Telerik team
Share this question
or