0.7.0 • Published 5 months ago

@cloudflight/angular-display v0.7.0

Weekly downloads
-
License
Apache-2.0
Repository
-
Last release
5 months 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.7.0

5 months ago

0.6.2

8 months ago

0.6.1

9 months ago

0.5.2

11 months ago

0.6.0

9 months ago

0.5.1

11 months ago

0.5.0

12 months ago

0.4.1

12 months ago

0.4.3

12 months ago

0.4.2

12 months ago

0.4.0

1 year ago

0.3.0

1 year ago

0.2.1

1 year ago

0.1.0

2 years ago