angular-kanban
Version:
A lightweight and customizable Kanban board library for Angular application
24 lines (23 loc) • 1.37 kB
TypeScript
import { EventEmitter } from '@angular/core';
import { KanbanCard } from '../models/kanban.modal';
import * as i0 from "@angular/core";
export declare class KanbanCardComponent {
/** The card data */
card: KanbanCard;
/** Whether the card is draggable (default: true) */
draggable?: boolean;
/** Whether to show the default title (default: true) */
showTitle?: boolean;
/** Whether to show the default description (default: true) */
showDescription?: boolean;
/** Custom CSS class for the card */
customClass: string;
/** Event emitter for card click */
cardClick: EventEmitter<KanbanCard>;
/** Track if custom header/content is provided */
hasCustomHeader: boolean;
hasCustomBody: boolean;
onDragStart(event: DragEvent): void;
static ɵfac: i0.ɵɵFactoryDeclaration<KanbanCardComponent, never>;
static ɵcmp: i0.ɵɵComponentDeclaration<KanbanCardComponent, "lib-kanban-card", never, { "card": { "alias": "card"; "required": false; }; "draggable": { "alias": "draggable"; "required": false; }; "showTitle": { "alias": "showTitle"; "required": false; }; "showDescription": { "alias": "showDescription"; "required": false; }; "customClass": { "alias": "customClass"; "required": false; }; }, { "cardClick": "cardClick"; }, never, ["[card-header]", "[card-body]", "[card-footer]"], true, never>;
}