IF by IFTTT » A PageComponent to hold the pages

A PageComponent to hold the pages

The prototype contains six pages that are placed in a PageComponent.

The movement of the PageComponent also drives the images that don’t just follow the scroll movement, like the icons around the iPhone on the first screen.

Our PageComponent takes the size of the container in which it’s placed, and vertical scrolling is disabled.

page = new PageComponent
    size: container.size
    parent: container
    scrollVertical: no