@rx-angular/state
Version:
@rx-angular/state is a light-weight, flexible, strongly typed and tested tool dedicated to reduce the complexity of managing component state and side effects in angular
25 lines • 826 B
TypeScript
/**
* @description
* This transform is a side effecting operation applying `preventDefault` to a passed Event
* @param e
*/
export declare function preventDefault(e: Event): Event;
/**
* @description
* This transform is a side effecting operation applying `stopPropagation` to a passed Event
* @param e
*/
export declare function stopPropagation(e: Event): Event;
/**
* @description
* This transform is a side effecting operation applying `preventDefault` and `stopPropagation` to a passed Event
* @param e
*/
export declare function preventDefaultStopPropagation(e: Event): Event;
/**
* @description
* This transform is helps to pluck values from DOM `Event` or forward the value directly.
* @param e
*/
export declare function eventValue<T = string>(e: Event | T): T;
//# sourceMappingURL=transforms.d.ts.map