@bimeister/pupakit.kit
Version:
PupaKit is an open source collection of Angular components based on an atomic approach to building interfaces, which guarantees better performance and greater development flexibility.
14 lines (13 loc) • 606 B
TypeScript
import { BehaviorSubject } from 'rxjs';
import { CardSize } from '../../../declarations/types/card-size.type';
import * as i0 from "@angular/core";
export declare class CardStateService {
readonly size$: BehaviorSubject<CardSize>;
readonly disabled$: BehaviorSubject<boolean>;
readonly clickable$: BehaviorSubject<boolean>;
setSize(size: CardSize): void;
setDisabledState(disabled: boolean): void;
setClickableState(clickable: boolean): void;
static ɵfac: i0.ɵɵFactoryDeclaration<CardStateService, never>;
static ɵprov: i0.ɵɵInjectableDeclaration<CardStateService>;
}