<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[How to emit custom event in Framework7?]]></title><description><![CDATA[<p dir="auto">Hello, I want to emit a custom event on user login, how can I achieve this in framework7?</p>
]]></description><link>https://lankadevelopers.lk/topic/196/how-to-emit-custom-event-in-framework7</link><generator>RSS for Node</generator><lastBuildDate>Sat, 12 Sep 2026 17:09:38 GMT</lastBuildDate><atom:link href="https://lankadevelopers.lk/topic/196.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 28 Mar 2019 18:13:12 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to How to emit custom event in Framework7? on Fri, 29 Mar 2019 06:24:10 GMT]]></title><description><![CDATA[<p dir="auto">welcome bro</p>
]]></description><link>https://lankadevelopers.lk/post/1289</link><guid isPermaLink="true">https://lankadevelopers.lk/post/1289</guid><dc:creator><![CDATA[dev_lak]]></dc:creator><pubDate>Fri, 29 Mar 2019 06:24:10 GMT</pubDate></item><item><title><![CDATA[Reply to How to emit custom event in Framework7? on Fri, 29 Mar 2019 06:22:29 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://lankadevelopers.lk/uid/2">@dev_lak</a> thanks, it worked well :honey_pot:</p>
]]></description><link>https://lankadevelopers.lk/post/1288</link><guid isPermaLink="true">https://lankadevelopers.lk/post/1288</guid><dc:creator><![CDATA[fern]]></dc:creator><pubDate>Fri, 29 Mar 2019 06:22:29 GMT</pubDate></item><item><title><![CDATA[Reply to How to emit custom event in Framework7? on Fri, 29 Mar 2019 04:43:36 GMT]]></title><description><![CDATA[<p dir="auto">you can attach event listener like below</p>
<pre><code>app.on('myCustomEvent', function (a, b) {
  console.log(a); // -&gt; 'foo'
  console.log(b); // -&gt; 'bar'
});
</code></pre>
<p dir="auto">and emit event like below</p>
<pre><code>app.emit('myCustomEvent', 'foo', 'bar');
</code></pre>
<p dir="auto">also check their <a href="https://framework7.io/docs/events.html" target="_blank" rel="noopener noreferrer nofollow ugc">documentation</a></p>
]]></description><link>https://lankadevelopers.lk/post/1287</link><guid isPermaLink="true">https://lankadevelopers.lk/post/1287</guid><dc:creator><![CDATA[dev_lak]]></dc:creator><pubDate>Fri, 29 Mar 2019 04:43:36 GMT</pubDate></item></channel></rss>