# Render modal from theme client-side plugin API

**URL:** <https://meta.discourse.org/t/render-modal-from-theme-client-side-plugin-api/94305>\
**Category:** Product Support\
**Created:** [August 9, 2018, 12:02pm UTC](https://meta.discourse.org/t/render-modal-from-theme-client-side-plugin-api/94305 "2018-08-09T12:02:33Z")\
**Posts on this page:** 1\
**Showing post:** 15

<div class="post-metadata">

**Author:** ![Chong\_An\_Chen](https://avatars.discourse-cdn.com/v4/letter/c/59ef9b/32.png) [@Chong\_An\_Chen](https://meta.discourse.org/u/Chong_An_Chen)\
**Post date:** [December 13, 2018, 3:27am UTC](https://meta.discourse.org/t/render-modal-from-theme-client-side-plugin-api/94305/15 "2018-12-13T03:27:24Z")

</div>

thank you for the tutorial to build a customized modal.  
However I’d like to know how to bind an event (like onclick) in the template?

---

_[View the full topic](https://meta.discourse.org/t/render-modal-from-theme-client-side-plugin-api/94305)._
