@funnelback/ng-sds
Version:
`@funnelback/ng-sds` is Bootstrap 5 based library that aims to implement the [Squiz Design System specification](https://designsystem.squiz.net/) in Angular.
10 lines (9 loc) • 392 B
TypeScript
import { ElementRef } from '@angular/core';
export declare function getElementAttr(el: ElementRef, attr?: string): any;
export declare function hasElementAttr(el: ElementRef, attr: string): boolean;
/**
* Force a data-bound value (typically a string) to a boolean
*
* @param value value set via element property/attribute
*/
export declare function forceBooleanType(value: any): boolean;