Skip to content

Jiab77/ui-wrappers

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

UI-Wrappers

A collection of wrappers for UI frameworks.

Supported frameworks

The support for the following framework has been added:

  1. Materializecss
  2. Fomantic-UI
  3. Semantic-UI

Project status

This project is in WIP (Work In Progress) state and almost nothing has been written yet.

Features

Here is the actual features included in the project:

  1. browserSafeCheck(): Verify if running from a static file.
  2. createToast(message, type): Create a notification toast.
  3. escapeHtml(str): Escape HTML string. (Reference)
  4. readFile(file, callback): FileReader wrapper, read file and execute given callback.
  5. updateFileSize(fileList, display): Take a FileList as input and convert file size in bytes to human sizes.

Documentation

Unfortunately, nothing has been written for now and you will have to read the code to learn how to use the functions.

By chance, they are pretty easy to read and use.