<?xml version="1.0" encoding="UTF-8" ?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>navigationConfirmation JavaScript API Module</title><link>https://community.telligent.com/community/13/w/api-documentation/75722/navigationconfirmation-javascript-api-module</link><description>&lt;p&gt;&lt;span&gt;Developing on Verint Community? Use the API documentation as a reference for all supported interactions with Verint Community.&lt;/span&gt;&lt;/p&gt;</description><dc:language>en-US</dc:language><generator>14.0.0.586 14</generator><item><title>navigationConfirmation JavaScript API Module</title><link>https://community.telligent.com/community/13/w/api-documentation/75722/navigationconfirmation-javascript-api-module</link><pubDate>Fri, 08 Mar 2024 17:51:08 GMT</pubDate><guid isPermaLink="false">f13f9b8a-2b44-4445-b450-0049e992e99f</guid><dc:creator>Ben Tiedt</dc:creator><comments>https://community.telligent.com/community/13/w/api-documentation/75722/navigationconfirmation-javascript-api-module#comments</comments><description>Current Revision posted to API Documentation by Ben Tiedt on 03/08/2024 17:51:08&lt;br /&gt;
&lt;hr class="generated-documentation-start" style="border-width:0;" /&gt;&lt;h3&gt;jQuery.telligent.evolution.navigationConfirmation&lt;/h3&gt;
&lt;p&gt;The navigation confirmation module enables confirmation pop-ups when navigating away from the page.&lt;/p&gt;
&lt;h3&gt;Methods&lt;/h3&gt;
&lt;h4&gt;enable&lt;/h4&gt;
&lt;p&gt;Enables the navigation confirmation message against a specific context ID and optional function identifying whether changes have been made.  All actions that would navigate to a new URL not performed through a registered element&amp;#39;s click event will cause the confirmation to be displayed as long as there is at least one enabled context with changes.&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;$.telligent.evolution.navigationConfirmation.enable(id, isChangedFunction)
&lt;/code&gt;&lt;/pre&gt;

&lt;h4&gt;disable&lt;/h4&gt;
&lt;p&gt;Disables the navigation confirmation message for a specific context ID.  If all contexts are disabled, the navigation message will be disabled.&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;$.telligent.evolution.navigationConfirmation.disable(id)
&lt;/code&gt;&lt;/pre&gt;

&lt;h4&gt;isEnabled&lt;/h4&gt;
&lt;p&gt;Returns true if the provided context is enabled. If no context ID is provided, all contexts are checked.&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;$.telligent.evolution.navigationConfirmation.isEnabled(id)
&lt;/code&gt;&lt;/pre&gt;

&lt;h4&gt;register&lt;/h4&gt;
&lt;p&gt;OBSOLETE: Use enable(id)/disable(id) instead.&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;$.telligent.evolution.navigationConfirmation.register(elements)
&lt;/code&gt;&lt;/pre&gt;

&lt;h4&gt;ignoreClick&lt;/h4&gt;
&lt;p&gt;OBSOLETE: Use enable(id)/disable(id) instead.&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;$.telligent.evolution.navigationConfirmation.ignoreClick()
&lt;/code&gt;&lt;/pre&gt;

&lt;hr class="generated-documentation-end" style="border-width:0;" /&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;
</description></item></channel></rss>