Install Fit.UI using the package manager or download it from Fit.UI's website.
npm install fit-ui
Include Fit.UI (external resource)
The following files and folders are required to use Fit.UI as an external resource (not bundled with the application).
Simply add references to the stylesheet and Fit.UI itself:
Fit.UI is now ready to be used:
If a bundler such as Webpack is used, all we need to do is
require Fit.UI, and the core of the framework will be bundled with the application, allowing us to resolve Fit.UI from the global scope.
;// or;alert"Fit.UI is loaded: " + Fitty ? "Yes" : "No";
However, to use UI components such as Dialog, DatePicker, HTML Editor, and FilePicker, the following files and folders must be copied to the folder containing the application bundle:
The official website for Fit.UI has plenty of online demos. Here is a small sample to get you started.
var datepicker = "DatePicker1";datepicker;datepicker;var button = "Button1";button;button;button;datepicker;