amCards

Class amCards

Create a container with cards that are laid out using flex.

new amCards(options: Object)
Parameters
options (Object) Key/value pairs with the settings for the container and the default settings for a card
Properties
container (string) : 'body' | '#id'
theme (string) : 'transparent' | 'blue' | 'black'
margin (number) : Margin for the container that contains all the cards
padding (number) : Padding for the container that contains all the cards
header (string) : Header for the container
intro (string) : Intro for the container
footer (string) : Footer for the container
Example
let cards = new amCards({
  container: '#div-my-cards',
  theme: 'transparent' 
})
.add('Een eenvoudige card')
.addImage('../media/2009-ecuador.jpg')
.addVideo('https://www.youtube.com/watch?v=zlgtkA6cORk', {
  theme: 'black',
  padding: 0,
  width: 480,
  autoPlay: true
})
Static Members
prototype
Instance Members
_init()
_show()
_cleanDOM()
addHeader(content, parms)
addIntro(content)
addFooter(content)
add(content, params)
addAmBar(content, params)
addAmBookmarks(content, params)
addAmForm(content, params)
addAmList(content, params)
addAmMuziek(content, params)
addAmPages(content, params)
addAmVideos(content, params)
addBreak(content, params)
addHtml(content, params)
addImage(content, params)
addVideo(content, params)
_addCard(type, content, params)

sTheme

Parameters

sTheme

arrTags

Add card

arrTags

uidAmBookmarks

Lees bookmarks uit am_bookmarks o.b.v. tag(s) Maak table met rows: icon + url naam On row click, open url in nieuw window

uidAmBookmarks

uidMuziek

Lees bookmarks uit am_bookmarks o.b.v. tag(s) Maak table met rows: icon + url naam On row click, open url in nieuw window

uidMuziek

uidAmVideos

Lees videos uit am_videos o.b.v. tag(s) Maak table met rows: image + title On row click, open url in nieuw window

uidAmVideos

appendTo

Forceer line break door dummy item van 100% breedte

appendTo