quicksettings

Haxe extern classes for QuickSettings
https://github.com/markknol/hx-quicksettings/

To install, run:

haxelib install quicksettings 3.0.2 

See using Haxelib in Haxelib documentation for more information.

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

Contributors
markknol
Version
3.0.2
Published
3 months ago
License
MIT

All libraries are free

Every month, more than thousand developers use haxelib to find, share, and reuse code — and assemble it in powerful new ways. Enjoy Haxe; It is great!

Explore Haxe

Haxe Manual

Haxe Code Cookbook

Haxe API documentation

You can try Haxe in the browser! try.haxe.org

Join us on Github!

Haxe is being developed on GitHub. Feel free to contribute or report issues to our projects.

Haxe on Github