A screen cap from a Drupal node edit form that shows nice looking radio buttons rendered through the polymer paper radio button element.

This project is not covered by Drupal’s security advisory policy.

Making Polymer elements work with the Drupal Form API.

Current supported elements

Installation

  • Install the drupolymer module.
  • Install the drupolymer library (see below)
  • Clear cache, the supported form elements will now be replaced by polymer elements

Install drupolymer library

To utilize the drupolymer libary you need to add drupolymer html import and it's dependencies, as well as the webcomponents-lite.js polyfill to Drupal. The easiest way to do that is with the webcomponents module.

Installing drupolymer library with the webcomponents module

  1. Make sure you have bower installed on your machine
  2. Install the webcomponents module and the webcomponents_polymer submodule
  3. In your active theme, create a directory called polymer
  4. If you don't already have bower.json file create one with bower init
  5. Install the drupolymer library with bower install --save drupolymer
  6. Clear cache
Supporting organizations: 

Project information

  • Created by heyMP on , updated
  • shield alertThis project is not covered by the security advisory policy.
    Use at your own risk! It may have publicly disclosed vulnerabilities.

Releases