1
A
回答
0
为此,您可以使用流行的UI组件框架的一个相当容易。例如bootstrap/jquery。
按照以下的步骤,你将被罚款:
- 在父组件的
render
方法按照制备HTML布局与guidelines for the component:
<a href="#" id="mypopover" data-toggle="popover" title="Popover Header" data-content="Some content inside the popover">Toggle popover</a>
- 在父组件的componentDidMount方法中:
- 最后在
componentWillUnmount
:
$("#mypopover").popover();
$("#mypopover").popover('destroy')
相关问题
- 1. Popover不断呈现模态
- 2. UISplitViewController:如何呈现popover?
- 3. 如何在reactjs中呈现JSON数据?
- 4. 在ReactJS中呈现HTMLDivEle
- 5. 从Rect问题呈现Popover
- 6. 呈现功能在reactjs
- 7. reactjs - 如何呈现图像从json blob
- 8. 赛段之间有什么区别:“show”,“show detail”,“模态呈现”,“呈现为popover”?
- 9. 如何在iOS中以离线模式呈现Autodesk模型?
- 10. 如何在呈现popover之前获取触摸坐标?
- 11. 如何在ReactJS中呈现标记脚本
- 12. 如何在reactjs中使用条件呈现?
- 13. 如何在ajax中呈现角模板
- 14. 无法呈现popover控制器
- 15. webpack问题当试图呈现在reactjs
- 16. ReactJS中div的条件呈现?
- 17. 如何在数据更新后重新呈现Reactjs组件?
- 18. 在选择呈现不同的形式reactjs
- 19. 如何呈现形式
- 20. 呈现模式的看法在SPLITVIEW
- 21. 在两页模式下呈现ePub
- 22. 如何在ReactJs中循环并呈现数组中的不同组件?
- 23. iOS - 如何在模型视图呈现时不呈现模型视图?
- 24. 如何在IIS(Windows)Web服务器中以离线模式呈现Autodesk模型?
- 25. 当更新this.props.location.query.someQuery时重新呈现Reactjs
- 26. reactJS componentWillMount之后运行呈现方法
- 27. 使用jQuery选择器呈现reactjs
- 28. 错误而呈现JSON数据[Reactjs]
- 29. ReactJS,多次获取并呈现数据
- 30. reactjs react-table不呈现表格