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

class.<query> no longer works after beta 9

Open Pikachews opened this issue 9 years ago • 4 comments

Bug, feature request, or proposal:

Can no longer use class.<query> in templates after beta 9.

What is the expected behavior?

Queries on classes should work.

What is the current behavior?

They don't work at all.

What are the steps to reproduce?

Example StackBlitz: https://stackblitz.com/edit/angular-flex-layout-seed-6m2khk?file=app/test.component.ts

Remove beta 10 and add beta 9 and the example works. With beta 10, neither of the class.<query> work.

What is the use-case or motivation for changing an existing behavior?

Incorrect behavior

Which versions of Angular, Material, OS, TypeScript, browsers are affected?

Flex-layout beta 10

Is there anything else we should know?

ngClass.<query> works, but class.<query> doesn't.

Pikachews avatar Nov 05 '17 09:11 Pikachews

We are experiencing the same issue as well when using beta 10

HJordan35 avatar Nov 05 '17 16:11 HJordan35

https://github.com/angular/flex-layout/wiki/ngClass-API

mackelito avatar Nov 05 '17 18:11 mackelito

https://github.com/angular/flex-layout/pull/419

mackelito avatar Nov 05 '17 18:11 mackelito

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.