← Back to team overview

ubuntu-phone team mailing list archive

Re: Positioning the screen to an element in Expandable

 

mapFromItem() given argument "undefined"
Suggests that either expandable.parent, expandable.x or expandable.y is
undefined or null (not 0). You could look into that.
 On mer, 2014-07-23 at 23:15 +0200, Sam Segers wrote:
> I assume link is a string. That means split makes an array of strings.
> Then you set var expandable to a string.
> How could this have a parent attribute? Or x and y. You need a way to
> get the component from this string.

The eval() call evaluates it to the id of an object. I have the id only
as a string and need to get it at runtime. var expandable is one of the
Expandable elements, and expanding it works, but it's y position is
always 0.

Follow ups

References