作者:金针菇滚滚夹着五根水葱 | 来源:互联网 | 2023-06-04 12:20
Hello. I don't know if the orientation breakpoints are not working in the latest version, or I don't
Hello.
I don't know if the orientation breakpoints are not working in the latest version, or I don't know how to use it. I have read the documentation provided (link), but I'm still not sure.
As you said in the documentation, I add to the module the configuration:
1 2 3 4 5 6
| import {FlexLayoutModule , ADD_ORIENTATION_BREAKPOINTS} from '/flex-layout';
({
...
providers: [ {provide: ADD_ORIENTATION_BREAKPOINTS, useValue: true} ]
}) |
Then I tried to use it in the component in this way:
1 2 3 4 5 6 7 8 9 10 11
|
Hide Web
Portrait Web
Landscape Web
|
What are the steps to reproduce?
Here are examples of my code:
Test 1
: 5.2.4
/flex-layout: 5.0.0-beta.14
Test 2
: 6.0.0
/flex-layout: 6.0.0-beta.15
What is the expected behavior?
Can you provide a complete example of this feature?
Which versions support this feature?
Am I forgetting something important?
该提问来源于开源项目:angular/flex-layout
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.