@angular/flex-layout
Version:
Angular Flex-Layout =======
26 lines (21 loc) • 753 B
Markdown
The `core` entrypoint contains all of the common utilities to build Layout
components. Its primary exports are the `MediaQuery` utility
`MediaObserver` and the module that encapsulates the imports of these
providers, the `CoreModule`, and the base directive for layout
components, `BaseDirective2`. These utilities can be imported separately
from the root module to take advantage of tree shaking.
```typescript
import {NgModule} from '@angular/core';
import {CoreModule} from '@angular/flex-layout/core';
export class AppModule {}
```
```typescript
import {BaseDirective2} from '@angular/flex-layout/core';
export class NewLayoutDirective extends BaseDirective2 {}
```