Components

A set of reusable components for web applications

<px-scroll-viewer>

Defines an area that can be scrolled.

Examples

A scrollable view over an image.

<px-scroll-viewer>
  <img src="../../images/polymer_logo.svg" width="1000px">
</px-scroll-viewer>

A scrollable view which prevents horizontal scrolling. Scrolling will need to be handled in code to view the rest of the image.

<px-scroll-viewer horizontal="hidden">
  <img src="../../images/polymer_logo.svg" width="1000px">
</px-scroll-viewer>

A scrollable view displaying scrollbars, despite not requiring them.

<px-scroll-viewer horizontal="visible" vertical="visible">
  <img src="../../images/polymer_logo.svg" height="240px">
</px-scroll-viewer>