Skip to content

daniesy/voila

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

VOILÀ

A realtime light library to parse HTML and CSS in the browser.

How does VOILÀ work:

voila_usage

Usage

1 - Include voila.js

<script src="voila.js"></script>

2 - Call voila class

2.a - Without parameters

var voila = new Voila();

2.b - With parameters

var voila = new Voila({
	csscontainer : "css",
	htmlcontainer : "html",
	previewcontainer : "preview",
	autorun : true
});

Configuration

Options are passed to the voila function via an options hash at instantiation:

csscontainer

Class of the CSS container | Default = "css"

htmlcontainer

Class of the HTML container | Default = "html"

previewcontainer

Class of the Preview container | Default = "preview"

autorun

Autorun flag | Default = true

About

A light library to preview css code

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published