使用Angular我想仅在侧边栏中显示选定的选项

发布于 2025-02-03 16:06:01 字数 99 浏览 2 评论 0原文

嗨,我在Angular Material进行一个项目Whaich在Side Bar中有许多组件,我想在侧栏中实现选择选项以显示选定的选项。任何提示或引用某些文档的提示都将受到高度赞赏。

hi i am doing a project in angular material whaich have many components in side bar i want to implement a select option in side bar to show only selected ones.Any hint or reference to some documentation will be highly appreciated.Thanks

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

沧笙踏歌 2025-02-10 16:06:01

根据您的解释:您的侧边栏是一个包括子组件的父组件,您需要一种通过父母与这些孩子进行交流的方法。

资源:

https://angular.io/guide/guide/guide/inputs-unputs-ustputs

https> https:// dev。到/riapacheco/parent-child-compontent-communication-with-and-and-and-and-vanilla-js-1pae

as per your explanation: your sidebar is a parent component that includes child components and you want a way to communicate interaction with these children through the parent.

resources:

https://angular.io/guide/inputs-outputs

https://dev.to/riapacheco/parent-child-component-communication-with-angular-and-vanilla-js-1pae

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文