angular - ng-bootstrap for Angular 11 partial collapse
问题描述
I'm trying to create a read more, read less block on my page, the ng-bootstrap collapse widget would be perfect, but I can't get it to be partially collapsed ie showing some text and would be expandable to show the full content. I know it should be possible with Bootstrap 4 which the ng-bootstrap is using. I tried to find a custom library for such thing, but there is nothing for newer angular. Any help would be greatly appreciated.
Thanks
解决方案
推荐阅读
- r - 如何使用ggplot2按列排列df
- nearprotocol - 在 jsonrpc near 协议中使用 call_function 获取实际数字是什么?
- regex - 如何在 Perl Expect.pm 中使用 \K 获得匹配
- javascript - JavaScript/Node.js 中的 VSCode 定义提供程序
- reactjs - 实际上无法在反应中访问第二个对象
- html - 在 Angular 9 中使用内部链接
- javascript - Babel 为 IE11 添加了不必要的 core-js polyfills
- docker - 为 Docker 镜像添加 --help
- javascript - 验证空值
- java - 在不使用 repeat() 方法的情况下显示分层表示(缩进)