Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

angular-css-flex-layout

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

angular-css-flex-layout

A (temporary) solution for @angular/flex-layout problems in server-side rendering

  • 0.0.1-alpha.1
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
0
decreased by-100%
Maintainers
1
Weekly downloads
 
Created
Source

angular-css-flex-layout

A (temporary) solution for @angular/flex-layout problems (#373) in server-side rendering.

The awesome angular flex-layout module, currently doesn't work correctly on server platform. Because responsive api is built purely in js and there are inherent non-trivial problems in determining media size in server. While this pure js approach has certain advantages, one big advantage of old css based approach (with media queries) is not having any issue with SSR.

If you are using flex-layout directives throughout your application and you want to render your app on server now, and you can't wait until the SSR issue is resolved, you can give angular-css-flex-layout a shot. Assuming the SSR problems will be fixed in the original repo sooner or later, angular-css-flex-layout, aims to have as less footprint as possible. Directives are implemented with selectors identical to FlexLayoutModule directives, and all they do is to add corresponding css classes of AngularJS Material Flex Layout. So you only need to import CssFlexLayoutModule instead of FlexLayoutModule, and add angular-material.layouts.css to your styles.

IMPORTANT

This package will be published on npm and code will be added here in next few days.

Known issues:

  • layout-wrap-* doesn't exist in AngularJS Material layout css
  • fxLayoutWrap="value" is not supported now, but it's simple to add it.
  • fxShrink and fxGrow are not supported now, but it's simple to add them.
  • fxLayoutGap is not supported, as it's not in AngularJS Material

Keywords

FAQs

Package last updated on 27 Nov 2017

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc