-
-
2. Re: removeClass is not working?
Paolo Jerome Oct 8, 2014 8:35 PM (in response to Paolo Jerome)found out that you can't remove 2 class at the same time.
-
3. Re: removeClass is not working?
vivekuma Oct 8, 2014 8:49 PM (in response to Paolo Jerome)With the Edge runtime only, you can add only single class using addClass and remove single class using removeClass.
When you include jquery, then addClass and removeClass can add/remove multiple classes in one go.
-
4. Re: removeClass is not working?
Phildsb Oct 9, 2014 1:29 AM (in response to vivekuma)The list of supported jQuery APIs is available at Adobe Edge Animate CC JavaScript API , although I haven't checked whether there are other "gotchas" in there like adding and removing only a single class, and unfortunately that subset doesn't meet my needs. It's the old compromise between functionality and bloat - in the previous version, you could pretty much say that if you could do it in jQuery you could do it in Edge; now Adobe have optimised the size of projects, saving 100k or so by making jQuery optional, but I'll need to check each time to see whether it has the functions I need.
-
5. Re: removeClass is not working?
vivekuma Oct 9, 2014 2:34 AM (in response to Phildsb)Hi Phildsb,
You are right. Your point is taken for consideration.
Thanks!!!
-
6. Re: removeClass is not working?
vivekuma Oct 9, 2014 2:39 AM (in response to vivekuma)Correction to my earlier comments:
addClass in Edge API can add multiple classes. (No problem)
removeClass in Edge API can only remove one class at a time. (Problem)
We'll fix the removeClass so that it'll behave just as jQuery removeClass function, even if jQuery is not included in new Edge composition.
Thanks,
Vivekuma



