Skip to content

trans-render provides an alternative way of instantiating a template.

Notifications You must be signed in to change notification settings

bahrus/trans-render

Repository files navigation

trans-render

Published on webcomponents.org NPM version Playwright Tests How big is this package in your project?

Documentation for trans-render has left the building

This package has grown and grown, to the point that it no longer makes sense to document it via a single read me file.

As such, the documentation has moved to the associated wiki. Happy reading!

Viewing Your Element Locally

Any web server that can serve static files will do, but...

  1. Install git.
  2. Fork/clone this repo.
  3. Install node.js.
  4. Open command window to folder where you cloned this repo.
  5. npm install

  6. npm run serve

  7. Open http://localhost:3030/demo/ in a modern browser.

Running Tests

> npm run test

Using from ESM Module:

import {Transform} frm 'trans-render/Transform.js';

Using from CDN:

<script type=module crossorigin=anonymous>
    import {Transform} from 'https://esm.run/trans-render';
</script>

About

trans-render provides an alternative way of instantiating a template.

Resources

Stars

Watchers

Forks

Packages

No packages published