Skip to content
/ qui Public

QUIQQER-UI is a modular user interface component framework written in JavaScript

License

Notifications You must be signed in to change notification settings

QUIQQER/qui

Repository files navigation

QUI

Copyright www.pcsg.de

www.pcsg.de www.quiqqer.com

Licence MIT

About QUIQQER

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

Installation

Installation via composer

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>

Installation via bower

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>

Installation via nodejs

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>

Usage example

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/

Complete example

<!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>

Thanks

Parts of QUI are free open-source software and not from us. We thank all for the nice work.

An additional thanks to:

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

About

QUIQQER-UI is a modular user interface component framework written in JavaScript

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published