Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/ialpert/gridy.js

Gridy.js is a library that can be used in SmartTV's apps. You can use it for carousels, grids, and sliders
https://github.com/ialpert/gridy.js

Last synced: 3 months ago
JSON representation

Gridy.js is a library that can be used in SmartTV's apps. You can use it for carousels, grids, and sliders

Awesome Lists containing this project

README

        

Gridy.js
========
Gridy.js is a library that can be used in SmartTV's apps. You can use it for carousels, grids, and sliders

Todo:
========
* jQuery plugin
* Tests
* Better TV related example
* Better description

```html

```

Markup example:

```html



<li>{name}</li>





```

JS example:
```javascript
new Gridy("#category", {
rows : 1,
cols : 1,
transSpeed: 500,
index : 4,
data : data,
onExit : function(direction) {}
}
```

Default values:

```javascript
default_confing = {
rows: 1,
cols: 1,
transSpeed: 500,
index: 0,
data: [],
controls: true,
focusedClass: 'focused',
orientation: 'horizontal',
onChange: function(elem) {},
onExit: function(direction) {},
selectors: {
container: 'ul',
wrapper: '.wrapper',
content: '.content',
focused: '.focused',
elem: 'li',
page: '.page',
tpl: 'script[type="text/tpl"]'
}
};
```