quicksettings 3.0.2

Haxe extern classes for QuickSettings

Released 2018-03-18.

To install, run:

haxelib install quicksettings 3.0.2

See using Haxelib in Haxelib documentation for more information.

Maintainermarkknol
Websitehttps://github.com/markknol/hx-quicksettings/
Current version3.0.2
StatisticsInstalled 15 times
LicenseMIT
Tags

README.md

Haxe extern classes for QuickSettings Build Status

QuickSettings is a JavaScript library for making a quick settings panel to control code parameters.

Current Haxe Extern QuickSetting version 3.0.2

Normal usage

Add CDN hosted javascript to your HTML file. It's included with the default quicksettings.css so no need to add that.

<!-- quicksettings version 3.0.2 -->
<script type="text/javascript" src="https://cdn.jsdelivr.net/quicksettings/3.0.2/quicksettings.min.js"></script>

If you want to use a custom css, download and add the .js and one of the following quicksettings_black.min.css / quicksettings_tiny.min.css / quicksettings_tiny_black.min.css / quicksettings_tiny_white.min.css / quicksettings_white.min.css files in your HTML file.

<!-- for example: use the quicksettings_tiny_black.min.css -->
<link rel="stylesheet" type="text/css" href="quicksettings_tiny_black.min.css">
<script type="text/javascript" src="quicksettings.js"></script>

haxelib local use

Currently there is no haxelib, but you can use this git repos as a development directory:

haxelib dev hxquicksettings path/to/folder

or use git directly

haxelib git hxquicksettings https://github.com/markknol/hx-quicksettings.git

don't forget to add it to your build file

-lib hxquicksettings

Usage in Haxe

In Haxe/JavaScript you can use the panel like this:

import quicksettings.QuickSettings;

var settings:QuickSettings = QuickSettings.create(20, 20, "Settings");

Check out the example folder for more information.

Or see it in action here

Enjoy!

Read more at the original project: https://github.com/bit101/quicksettings