Web component wrapper around render-tron

<pre-render-tron>

Web component wrapper around render-tron.

Syntax:

<pre-render-tron scale="0.5" href="https://www.webcomponents.org/"></pre-render-tron>

The "scale" attribute / property is optional. It zooms the content (larger or smaller).

For IE11, a fetch polyfill is required.

pre-render-tron emits events "fetch-in-progress-changed", "error-text-changed", and "error-response-changed" as applicable.

If property / attribute "disabled" is set, the fetch will still take place, but the result won't be loaded until "disabled" is removed. If disabled is set again, the content will be unloaded, but saved for the future if disabled is removed again.

Syntax

Install the Polymer-CLI

First, make sure you have the Polymer CLI and npm (packaged with Node.js) installed. Run npm install to install your element's dependencies, then run polymer serve to serve your element locally.

Viewing Your Element

$ polymer serve

Install

Link to this version
ImportedReleased 09 February 2019MIT License
Framework Support
Browser Independent
Install with
npm install pre-render-tron"@0.0.6"
Run the above npm command in your project folder. If you have any issues installing, please contact the author.
Release notes - Version 0.0.6

Dependencies

  • xtal-latx#0.0.88
  • ava-pwar#0.0.17