0.8.0 • Published 1 year ago

@cloudflight/angular-display v0.8.0

Weekly downloads
-
License
Apache-2.0
Repository
-
Last release
1 year ago

angular-display

@cloudflight/angular-display

Breakpoint based conditional component display for angular.

Installation

npm install --save @cloudflight/angular-display
# or
yarn add @cloudflight/angular-display
# or
pnpm add @cloudflight/angular-display

Configuration

To use the library in a typesafe way you need to extend the Breakpoints interface using declaration merging. The interface is exposed in the global namespace ClfIsDisplay.

Add the following to a .d.ts file that is picked up by the compiler:

declare namespace ClfIsDisplay {
    export interface Breakpoints {
        some: number;
        breakpoint: number;
        definitions: number;
        here: number;
    }
}

For more information check the documentation of ClfIsDisplay.Breakpoints

0.8.0

1 year ago

0.7.0

2 years ago

0.6.2

2 years ago

0.6.1

2 years ago

0.5.2

2 years ago

0.6.0

2 years ago

0.5.1

2 years ago

0.5.0

2 years ago

0.4.1

2 years ago

0.4.3

2 years ago

0.4.2

2 years ago

0.4.0

2 years ago

0.3.0

2 years ago

0.2.1

3 years ago

0.1.0

3 years ago