Code Monkey home page Code Monkey logo

ngx-layout's Introduction

This is clone of angular/flex-layout project.

npm version CircleCI Gitter Wallaby.js

NOTE: The Angular team no longer publishes new releases of this project. Please see this article for the explanation and next steps.

I would like to take a moment and thank both Caerus and Thomas for all their hardwork in developing this library and to everyone else who has contributed to this project over the years.

ngx-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 ngx-layout library from npm

npm i -s @ngbracket/ngx-layout @angular/cdk

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

app.module.ts

import { FlexLayoutModule } from '@ngbracket/ngx-layout';
...

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

After that is configured, you can use the ngx-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 ngx-layout in your application.


Quick Links

Demos

StackBlitz Templates

Developers


Sponsorship Data (USD)

Description Paid (One time) Paid (Per/Month) Received (Per/Month) Balance
Sponsorship Paid 130 130
Total 130 130

Sponsorship credits: As per our sponsorship details all sponsor get added to our readme page:

So we would like to say a BIG thank you to the following:

Sponsor Paid Sponsorship type
KLGuyton $100 One time
Stefanomozart $10 One time
peternixey $20 One time

If you would like your name/logo here please click on the sponsor link

Browser Support

ย  caniuseflexbox



License

The sources for this package are in the ngx-layout repository.
Please file issues and pull requests against that repo.

License: MIT

ngx-layout's People

Contributors

thomasburleson avatar caeruskaru avatar duncanfaulkner avatar dependabot[bot] avatar devversion avatar tinayuangao avatar josephperrott avatar joshwiens avatar kara avatar bowenni avatar alexmurari avatar andrewseguin avatar cyrilletuzi avatar mmalerba avatar teamop avatar null-reference avatar karlhaas avatar alan-agius4 avatar atscott avatar splaktar avatar jelbourn avatar taylonr avatar peterblazejewicz avatar peterramsing avatar dodongphure avatar robphoenix avatar donroyco avatar samuelmarks avatar skovalyov avatar somombo 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.