We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
export enum Breakpoints = { XSmall: '(max-width: 599.99px)', Small: '(min-width: 768px) and (max-width: 1023.99px)', Medium: '(min-width: 1024px) and (max-width: 1279.99px)', Large: '(min-width: 1280px) and (max-width: 1719.99px)', XLarge: '(min-width: 1720px)', }
// 非响应式 const isXSmall = isMatchedBreakpoint(Breakpoints.XSmall) // 响应式 const layoutChange = observeBreakpoint(Breakpoints.XSmall) // const layoutChange = observeBreakpoint([Breakpoints.XSmall, Breakpoints.Large]) watchEffect(() => { console.log('breakpoints', layoutChanges.value.breakpoints) console.log('matches', layoutChanges.value.matches) }) // 清空观察者 cleanObservables()
The text was updated successfully, but these errors were encountered:
@coolyuantao @zymoplastic 请 review 一下。
Sorry, something went wrong.
断点的值可能需要再找人讨论一下
默认断点值已经调整
feat(cdk:breakpoint): add breakpoint system and observables (#58)
6fae63d
fix #44
coolyuantao
danranVm
zymoplastic
Successfully merging a pull request may close this issue.
What problem does this feature solve?
What does the proposed API look like?
The text was updated successfully, but these errors were encountered: