Flex-layout: namespace prefix - identify best prefix use in markup and code

Created on 3 Nov 2016  路  5Comments  路  Source: angular/flex-layout

The current directives use fx- prefixes with as HTML markup:

  • fx-layout
  • fx-layout-wrap
  • fx-layout-align
  • fx-flex
  • fx-flex-fill
  • fx-flex-order
  • fx-flex-offset
  • fx-flex-align

Questions

  • Is the fx- namespace the best choice ?
  • What about the fxOnMediaQueryChanges lifecycle method ?

Most helpful comment

Honestly I'd prefer to stick with flex- instead of fx-

All 5 comments

Honestly I'd prefer to stick with flex- instead of fx-

Will not change.

Just as an aside this would be things like flex-flex... not good.

Angular team decision to use the fx- namespace prefixes.

Obviously you would just do flex-align, not flex-flex-align. Just like it was in Material 1. There was no good reason to change it, but sure fx- it is.

This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

_This action has been performed automatically by a bot._

Was this page helpful?
0 / 5 - 0 ratings

Related issues

WilhelmOlejnik picture WilhelmOlejnik  路  4Comments

intellix picture intellix  路  4Comments

jcoronel94 picture jcoronel94  路  4Comments

nueko picture nueko  路  5Comments

PierreDuc picture PierreDuc  路  5Comments