ngx-flexible-layout
Version:
## This is an attempt to port @angular/flex-layout to provide support after EOL
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 {}
```