Get started

To get started, first download Fit.UI in your preferred format. It is Open Source and free under the LGPL license.


To get started simply extract Fit.UI and create an HTML page that loads Fit.UI.min.css and Fit.UI.min.js.

Demo.html
<!DOCTYPE html>
<html>
<head>
    <link rel="stylesheet" type="text/css" href="Fit.UI.min.css">
    <script type="text/javascript" src="Fit.UI.min.js"></script>
    <title>Fit.UI - Get Started</title>

    <style>
    body
    {
        font: 14px verdana;
    }
    </style>
</head>
<body>

<h1>Fit.UI</h1>
<p>Welcome - Fit.UI is now loaded on this page</p>

<script type="text/javascript">
Fit.Events.OnReady(function()
{
    Fit.Controls.Dialog.Alert("Fit.UI version " + Fit.GetVersion().Version + " loaded");
});
</script>

</body>
</html>


The result is a page proving that Fit.UI is loaded and ready to be used.

Debugging
Rather than including Fit.UI.min.js and Fit.UI.min.css, it is recommended to include Fit.UI.js and Fit.UI.css to ease debugging.
By default Fit.UI is running in type checking mode to make sure invalid object types cannot be passed to the framework. Once the App is ready for production, you may choose to disable type checking for improved performance:
Fit.Validation.Enabled(false);
Fit.UI is open source (LGPL) - download or fork it on GitHub - website powered by Sitemagic CMS