<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>javascript on Poeticoding</title><link>https://www.poeticoding.com/tag/javascript/</link><description>Recent content in javascript on Poeticoding</description><generator>Hugo</generator><language>en</language><lastBuildDate>Wed, 05 Feb 2020 12:03:33 +0000</lastBuildDate><atom:link href="https://www.poeticoding.com/tag/javascript/index.xml" rel="self" type="application/rss+xml"/><item><title>Using Select2 with Phoenix LiveView</title><link>https://www.poeticoding.com/using-select2-with-phoenix-liveview/</link><pubDate>Thu, 11 Jul 2019 15:19:10 +0000</pubDate><guid>https://www.poeticoding.com/using-select2-with-phoenix-liveview/</guid><description>&lt;p>&lt;strong>IMPORTANT&lt;/strong>: It&amp;rsquo;s now possible to do LiveView JS interop with hooks, which make everything much simpler and smoother! I&amp;rsquo;ve published an updated version of the article: &lt;a href="https://www.poeticoding.com/phoenix-liveview-javascript-hooks-and-select2/">Phoenix LiveView JavaScript Hooks and Select2&lt;/a>.&lt;/p>
&lt;p>LiveView doesn&amp;rsquo;t support JavaScript interop at the moment (but it&amp;rsquo;s a planned feature). So, let&amp;rsquo;s see how we can come up with a workaround to make LiveView playing together with a JavaScript library like &lt;a href="https://select2.org" target="_blank" rel="noopener">Select2&lt;/a>.&lt;/p></description></item></channel></rss>