Copyright www.pcsg.de
Licence MIT
QUIQQER-UI is a modular user interface component framework written in JavaScript from www.pcsg.de
If you search a documentation, please look at http://doc.quiqqer.com/qui/doc/. QUIQQER-UI or QUI are mainly used at QUIQQER
Please add to your composer.json
{
"require" : {
"quiqqer/qui" : "dev-dev"
},
"repositories": [{
"type": "composer",
"url": "http://update.quiqqer.com/"
}]
}
php composer.phar install
If you dont use MooTools, please place MooTools and moofx before requirejs:
<!-- mootools -->
<script src="components/qui/qui/lib/mootools-core.js"></script>
<script src="components/qui/qui/lib/mootools-more.js"></script>
<script src="components/qui/qui/lib/moofx.js"></script>
<!-- include require -->
<script src="components/require-built.js"></script>
<!-- include qui -->
<script src="components/qui/init.js" data-main="your_start_script.js"></script>
bower install http://dev.quiqqer.com:3000/quiqqer/qui.git
<!-- mootools -->
<script src="bower_components/qui/qui/lib/mootools-core.js"></script>
<script src="bower_components/qui/qui/lib/mootools-more.js"></script>
<script src="bower_components/qui/qui/lib/moofx.js"></script>
<!-- include require -->
<script src="bower_components/requirejs/require.js"></script>
<!-- include qui -->
<script src="bower_components/qui/init.js" data-main="test.js"></script>
npm install -S "git+http://dev.quiqqer.com:3000/quiqqer/qui.git"
<!-- mootools -->
<script src="node_modules/quiqqer-qui/qui/lib/mootools-core.js"></script>
<script src="node_modules/quiqqer-qui/qui/lib/mootools-more.js"></script>
<script src="node_modules/quiqqer-qui/qui/lib/moofx.js"></script>
<!-- include require -->
<script src="node_modules/quiqqer-qui/qui/lib/requirejs.js"></script>
<!-- include qui -->
<script src="node_modules/quiqqer-qui/init.js" data-main="test.js"></script>
require([
'qui/controls/buttons/Button'
], function(QUIButton)
{
new QUIButton({
text : 'my button',
events :
{
onClick : function() {
alert( 1 );
}
}
}).inject( document.body );
});
You can find some examples at: http://doc.quiqqer.com/qui/doc/
<!DOCTYPE HTML>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<!-- mootools -->
<script src="bower_components/qui/build/qui/lib/mootools-core.js"></script>
<script src="bower_components/qui/build/qui/lib/mootools-more.js"></script>
<script src="bower_components/qui/build/qui/lib/moofx.js"></script>
<title>Insert title here</title>
</head>
<body>
<!-- include require -->
<script src="bower_components/requirejs/require.js"></script>
<!-- include qui -->
<script src="bower_components/qui/init.js" data-main="test.js"></script>
</body>
</html>
Parts of QUI are free open-source software and not from us. We thank all for the nice work.
- MooTools ( http://mootools.net/ )
- requirejs ( requirejs.org/ )
- AMD css! plugin curl.js ( https://github.com/cujojs/curl )
- QUIQQER / QUI Font: http://fontfabric.com/multicolore-free-fonts/
An additional thanks to:
- Composer ( http://getcomposer.org )
- Bower ( http://bower.io )
- NodeJS ( http://nodejs.org/ )
Last but not least, the QUIQQER UI Idea based on MochaUI. We decided to reimplement MochaUI idea, with AMD definition and create more controls.
Thanks for all the nice lines of code. If we forget somebody, please not hesitate and write us an email.
Henning from QUIQQER