flex-layout icon indicating copy to clipboard operation
flex-layout copied to clipboard

namespace prefix - identify best prefix use in markup and code

Open ThomasBurleson opened this issue 10 years ago • 5 comments

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 ?

ThomasBurleson avatar Nov 03 '16 00:11 ThomasBurleson

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

ryancampbell avatar Dec 08 '16 22:12 ryancampbell

Will not change.

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

ThomasBurleson avatar Dec 09 '16 02:12 ThomasBurleson

Angular team decision to use the fx- namespace prefixes.

ThomasBurleson avatar Dec 09 '16 02:12 ThomasBurleson

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.

ryancampbell avatar Dec 09 '16 16:12 ryancampbell

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.