0.0.3 • Published 4 years ago

@coffeekraken/interactive-demo-webcomponent v0.0.3

Weekly downloads
7
License
MIT
Repository
github
Last release
4 years ago

Coffeekraken interactive demo webcomponent

npm npm npm

Provide a simple, powerful and nice way to display interactive html/css/js demo

Features

Table of content

  1. Install
  2. Get Started
  3. Javascript API
  4. Coffeekraken

Install

npm install @coffeekraken/interactive-demo-webcomponent --save

Get Started

First, import the component into your javascript file like so:

import InteractiveDemoWebcomponent from '@coffeekraken/interactive-demo-webcomponent'
import CodemirrorWebcomponent from '@coffeekraken/codemirror-webcomponent'

Then simply use it inside your html like so:

<ck-interactive-demo layout="right">
	<ck-codemirror language="html">
		<h1 class="h1">
			Hello world
		</h1>
	</ck-codemirror>
	<ck-codemirror language="css">
		.h1 {
			color : red;
		}
	</ck-codemirror>
</ck-interactive-demo>

Coffeekraken

We are a young collective of front-end creative developers with one goal in mind. Build tools to make every team working day life better. This is our first and only concern. All our tools are build around that purpose. All what we provide are some cool tools that you can use the way you want. These tools features cover a large scope of the front-end workflow (styleguide generation, colors/fonts management, etc...). You can use only the parts that you need and let the rest aside...

Coffeekraken