logo The World’s #1 Bootstrap 4 HTML, Angular 10, React, VueJS & Laravel
Admin Dashboard Theme

Card

Overview

KTCard is a Metronic's custom plugin defined in[metronic]/theme/html/[demo]/src/js/components/card.js.

Initialization

The initialization code can be found in this files;

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

API Methods

Method Description
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