Skip to content

mondorobot/gretzky

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

gretzky.js

aka thegreatone.js

aka gretz.js

aka thewhitetornado.js
aka waynedouglasgretzky.js

Gretzky Face


A JS widget framework built on top of the jQuery Widget Factory pattern at Mondo Robot.

Installation

Install via Bower"

bower install https://github.com/mondorobot/gretzky.git

or add to your project's bower.json file:

"dependencies": {
  "gretzky": "0.0.1"
  ...

Then include it in your project:

bower install

Then include base.js and factory.js your HTML template:

<script src="<path/to/base.js>"></script>
<script src="<path/to/factory.js>"></script>

Usage

Create widgets that inherit from the base widget class:

$.widget('mondo.*YourWidgetNameHere*', $.mondo.base, { ...`
  1. Call window.WidgetFactory.refresh() to instantiate/refresh widgets

Dependencies

  • jQuery
  • jQuery UI (just the Widget module)
  • Vanilla JS (at least v5.0)

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •