Skip to content
Provides HTML UI layout for Angular applications; using Flexbox and a Responsive API
TypeScript HTML JavaScript CSS Shell
Branch: master
Clone or download

Latest commit

dependabot build(deps): bump websocket-extensions from 0.1.3 to 0.1.4 (#1268)
Bumps [websocket-extensions](https://github.com/faye/websocket-extensions-node) from 0.1.3 to 0.1.4.
- [Release notes](https://github.com/faye/websocket-extensions-node/releases)
- [Changelog](https://github.com/faye/websocket-extensions-node/blob/master/CHANGELOG.md)
- [Commits](faye/websocket-extensions-node@0.1.3...0.1.4)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Latest commit 8624cbb Jun 7, 2020

Files

Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.circleci build: fix gulp setup not working with node v12 (#1142) Nov 6, 2019
.github chore: update StackBlitz links (#1254) May 14, 2020
docs docs: fix HTML closing tags for fxFlex API page (#1225) May 7, 2020
guides feat(lib): add config options for flex basis and other tokens May 31, 2018
scripts build: switch to circleci (#905) Dec 13, 2018
src build: upgrade to Angular v10, CDK v10, and TypeScript 3.9 (#1261) May 23, 2020
test build: switch to circleci (#905) Dec 13, 2018
tools build: upgrade to Angular v10, CDK v10, and TypeScript 3.9 (#1261) May 23, 2020
.clang-format update(yarn, build, tests): prepare for testing Nov 4, 2016
.editorconfig chore(config): update development configs (#31) Dec 14, 2016
.gitattributes chore: force LF as linebreak-style when checking out the repo (#1145) Nov 8, 2019
.gitignore update(build): upgrade to Angular v7.2 and TypeScript v3.2 (#976) Jan 10, 2019
CHANGELOG.md chore: update to 9.0.0-beta.31 with changelog (#1257) May 15, 2020
CODE_REVIEWS.md docs: cleanup the Wiki and add missing docs Jan 20, 2018
CODING_STANDARDS.md docs: change reference from RxJS "lettable" to "pipeable" Feb 1, 2018
CONTRIBUTING.md chore: update StackBlitz links (#1254) May 14, 2020
LICENSE chore: bump year (#1167) Jan 1, 2020
README.md chore: update StackBlitz links (#1254) May 14, 2020
build-config.js build: move angular version to package.json (#794) Jul 25, 2018
firebase.json chore(build): update build to match ngM2 build processes (#342) Jul 27, 2017
gulpfile.js chore(build): update build to match ngM2 build processes (#342) Jul 27, 2017
package.json build: upgrade to Angular v10, CDK v10, and TypeScript 3.9 (#1261) May 23, 2020
stylelint-config.json feat(core): add static scss mixin (#940) Dec 19, 2018
tsconfig.json build: upgrade to Angular and Material v7 and add strict flags (#855) Oct 5, 2018
tslint.json feat(core): MediaObserver can report 1..n activations (#994) Jan 15, 2019
yarn.lock build(deps): bump websocket-extensions from 0.1.3 to 0.1.4 (#1268) Jun 7, 2020

README.md

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

You can’t perform that action at this time.