Keen - The Ultimate Multi-Demo Bootstrap Admin Theme
logo Multi Demo Bootstrap Admin Dashboard Theme

Card

Overview

KTCard is a Keen's custom plugin defined in[keen]/theme/[demo]/src/js/components/card.js.

Initialization

The initialization code can be found in this files;

[keen]/theme/[demo]/src/js/pages/features/cards/tools.js

API Methods

Method Description
setDefaults(options)

Set default options

remove()

Remove card

initSticky()

Init sticky card

updateSticky()

Rerender sticky layout

resetSticky()

Reset the sticky

destroySticky()

Destroy sticky card

reload()

Reload card

setContent(html)

Set card content

toggle()

Toggle card

collapse()

Collapse card

expand()

Expand card

getBody()

Get cardbody @returns {jQuery}

getSelf()

Get cardbody @returns {jQuery}

on(name, handler)

Attach event

one(name, handler)

Attach event that will be fired once