@angular/flex-layout

WebJar for @angular/flex-layout

License

License

MIT
Categories

Categories

Angular User Interface Web Frameworks
GroupId

GroupId

org.webjars.npm
ArtifactId

ArtifactId

angular__flex-layout
Last Version

Last Version

2.0.0-rc.1
Release Date

Release Date

Type

Type

jar
Description

Description

@angular/flex-layout
WebJar for @angular/flex-layout
Project URL

Project URL

http://webjars.org
Source Code Management

Source Code Management

https://github.com/angular/flex-layout

Download angular__flex-layout

How to add to project

<!-- https://jarcasting.com/artifacts/org.webjars.npm/angular__flex-layout/ -->
<dependency>
    <groupId>org.webjars.npm</groupId>
    <artifactId>angular__flex-layout</artifactId>
    <version>2.0.0-rc.1</version>
</dependency>
// https://jarcasting.com/artifacts/org.webjars.npm/angular__flex-layout/
implementation 'org.webjars.npm:angular__flex-layout:2.0.0-rc.1'
// https://jarcasting.com/artifacts/org.webjars.npm/angular__flex-layout/
implementation ("org.webjars.npm:angular__flex-layout:2.0.0-rc.1")
'org.webjars.npm:angular__flex-layout:jar:2.0.0-rc.1'
<dependency org="org.webjars.npm" name="angular__flex-layout" rev="2.0.0-rc.1">
  <artifact name="angular__flex-layout" type="jar" />
</dependency>
@Grapes(
@Grab(group='org.webjars.npm', module='angular__flex-layout', version='2.0.0-rc.1')
)
libraryDependencies += "org.webjars.npm" % "angular__flex-layout" % "2.0.0-rc.1"
[org.webjars.npm/angular__flex-layout "2.0.0-rc.1"]

Dependencies

There are no dependencies for this project. It is a standalone project that does not depend on any other jars.

Project Modules

There are no modules declared in this project.

Angular Flex-Layout

npm version Build status Gitter

Angular Flex Layout provides a sophisticated layout API using Flexbox CSS + mediaQuery. This module provides Angular developers with component layout features using a custom Layout API, mediaQuery observables, and injected DOM flexbox-2016 CSS stylings.

The Flex Layout engine intelligently automates the process of applying appropriate Flexbox CSS to browser view hierarchies. This automation also addresses many of the complexities and workarounds encountered with the traditional, manual, CSS-only application of box CSS.

The real power of Flex Layout, however, is its responsive engine. The Responsive API enables developers to easily specify different layouts, sizing, visibilities for different viewport sizes and display devices.


Getting Started

Start by installing the Angular Layout library from npm

npm i -s @angular/flex-layout @angular/cdk

Next, you'll need to import the Layout module in your app's module.

app.module.ts

import { FlexLayoutModule } from '@angular/flex-layout';
...

@NgModule({
    ...
    imports: [ FlexLayoutModule ],
    ...
});

After that is configured, you can use the Angular Layout attributes in your HTML tags for flex layout:

<div fxLayout="row" fxLayoutAlign="space-between">
</div>

Check out all of the available options for using Angular Layout in your application.


Quick Links

Demos

StackBlitz Templates

Developers


Browser Support

  caniuseflexbox



License

The sources for this package are in the Flex Layout repository.
Please file issues and pull requests against that repo.

License: MIT

org.webjars.npm

Angular

Versions

Version
2.0.0-rc.1
2.0.0-beta.9
2.0.0-beta.8