Properties
Optional
assignTo
assignTo?: ((obj) => void)
Optional
body
Optional
className
className?: string
Optional
el
el?: HTMLElement
Optional
footer
Optional
header
Optional
imgBottom
imgBottom?: {
alt?: string;
src?: string;
}
Type declaration
-
Optional
alt?: string
-
Optional
src?: string
Optional
imgTop
imgTop?: {
alt?: string;
src?: string;
}
Type declaration
-
Optional
alt?: string
-
Optional
src?: string
Optional
onClick
onClick?: ((card?, ev?) => void)
Type declaration
-
- (card?, ev?): void
-
Parameters
-
Optional
card: ICardBody<Element>
-
Optional
ev: Event
Returns void
Optional
onRender
onRender?: ((el?, card?) => void)
Type declaration
-
- (el?, card?): void
-
Parameters
-
Optional
el: HTMLElement
-
Optional
card: ICardProps<Element>
Returns void
Card Properties