mithril-occluded-media-list
A scroll-occluded bootstrap media-list
You can see a demo here.
installation
You can get a copy with bower or npm or just download it from the dist/
folder, here.
webpack/browserify/etc
var OccludedMediaList = ;
requirejs
;
plain browser globals
usage
Basically, there is a m.prop([])
of items, and there are 3 fields that your items optionally can implement: image
, title
, & text
, which each can be mapped. You can also add an onclick
that will be called with the item as it's argument. All these options are optional.
Demo{ thisitems = m; m; thislist = thisitems title:'name' image:'poster' text: 'description' { console; } ;}; Demo{ return OccludedMediaList;};