<?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[Disable event handler from script]]></title><description><![CDATA[<p dir="auto">Hi everyone,</p>
<p dir="auto">I would like to disable an event handler based on a binary data point. Is this possible to do within Mango?</p>
<p dir="auto">My goal is to be able to lock out events based on the value of a binary data point. Ideally a scripting source or global script would simply say "If binary point = 0 then event handler = disabled."</p>
<p dir="auto">I have an ma-switch-img  on a dashboard that is controlling the binary data point, so I could also toggle the event handler via the ng-click directive.</p>
<p dir="auto">I am running the latest version of Mango 3.7.7</p>
<p dir="auto">Thanks in advance for your help.</p>
<p dir="auto">Shawn</p>
]]></description><link>https://forum.mango-os.com/topic/4772/disable-event-handler-from-script</link><generator>RSS for Node</generator><lastBuildDate>Sat, 18 Apr 2026 23:22:51 GMT</lastBuildDate><atom:link href="https://forum.mango-os.com/topic/4772.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 14 Apr 2020 23:02:54 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Disable event handler from script on Tue, 23 Jun 2020 15:10:09 GMT]]></title><description><![CDATA[<p dir="auto">@shawn-hateley did you ever figure out a way to do this? thanks.</p>
]]></description><link>https://forum.mango-os.com/post/25391</link><guid isPermaLink="true">https://forum.mango-os.com/post/25391</guid><dc:creator><![CDATA[diesel]]></dc:creator><pubDate>Tue, 23 Jun 2020 15:10:09 GMT</pubDate></item></channel></rss>