Directory

← Back

pre-render-tron

Web component wrapper around render-tron

Author

Rating

Popularity

<100

<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

Compatibility

(Loading compatibility data...)

Was this helpful? Need more help?
Leave a comment or a question below. You can also join the chat on Discord or ask questions on StackOverflow.

Version

Dependencies

  • xtal-latx#0.0.88
  • ava-pwar#0.0.17
Released
2019-02-09
Maturity
IMPORTED
License
MIT License

Compatibility

Framework
Browser
Browser Independent

pre-render-tron - Vaadin Add-on Directory

Web component wrapper around render-tron pre-render-tron - Vaadin Add-on Directory
# \ Web component wrapper around [render-tron](https://render-tron.appspot.com/). Syntax: ```html ``` 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](https://www.npmjs.com/package/polymer-cli) and npm (packaged with [Node.js](https://nodejs.org)) installed. Run `npm install` to install your element's dependencies, then run `polymer serve` to serve your element locally. ## Viewing Your Element ``` $ polymer serve ```
View on GitHub
View on NPM

pre-render-tron version 0.0.0
### Dependencies * xtal-latx#0.0.17

pre-render-tron version 0.0.1
### Dependencies * xtal-latx#0.0.17

pre-render-tron version 0.0.2
### Dependencies * xtal-latx#0.0.17

pre-render-tron version 0.0.3
### Dependencies * xtal-latx#0.0.17

pre-render-tron version 0.0.4
### Dependencies * xtal-latx#0.0.17

pre-render-tron version 0.0.5
### Dependencies * xtal-latx#0.0.17

pre-render-tron version 0.0.6
### Dependencies * xtal-latx#0.0.88 * ava-pwar#0.0.17

Online