Indeed, use the setter to set options. But this is a breaking change from
1.2 -> 1.3.



On Mon, Nov 29, 2010 at 12:14 PM, Oskar Krawczyk
<[email protected]>wrote:

> You're trying to SET options with a GETTER.
>
> el.set('tween', {...});
>
> On 2010-11-29, at 21:11, Dailce wrote:
>
> > I have this code that works in 1.2
> >
> > this.fx[0].element.get("tween", {
> >                property: "height",
> >                duration: 300,
> >                wait: false
> > }).start(c + "px")
> >
> > But I can't seem to get it to work in mootools 1.3'
> > What's changed?
> >
> > I'm getting a firebug error:  "this.fx[0].element.get("tween",
> > {property: "height", duration: 300, wait: false}).start is not a
> > function"
>
>

Reply via email to