GithubHelp home page GithubHelp logo

isabella232 / flex-layout Goto Github PK

View Code? Open in Web Editor NEW

This project forked from angular/flex-layout

0.0 0.0 0.0 6.65 MB

Provides HTML UI layout for Angular applications; using Flexbox and a Responsive API

License: MIT License

JavaScript 3.08% HTML 3.66% TypeScript 89.82% Shell 1.67% SCSS 1.78%

flex-layout's Introduction

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

flex-layout's People

Contributors

thomasburleson avatar caeruskaru avatar devversion avatar dependabot[bot] avatar tinayuangao avatar joshwiens avatar josephperrott avatar kara avatar bowenni avatar andrewseguin avatar cyrilletuzi avatar alan-agius4 avatar atscott avatar jelbourn avatar splaktar avatar karlhaas avatar null-reference avatar mmalerba avatar teamop avatar samuelmarks avatar donroyco avatar robphoenix avatar peterramsing avatar peterblazejewicz avatar taylonr avatar webmaxru avatar matsko avatar somombo avatar charsleysa avatar livthomas avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.