<?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/11/w/api-documentation/65019/navigationconfirmation-javascript-api-module</link><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/11/w/api-documentation/65019/navigationconfirmation-javascript-api-module</link><pubDate>Tue, 19 Nov 2019 20:27:20 GMT</pubDate><guid isPermaLink="false">f1288382-4106-4b70-8fdb-1e30f72e52f5</guid><dc:creator>Ben Tiedt</dc:creator><comments>https://community.telligent.com/community/11/w/api-documentation/65019/navigationconfirmation-javascript-api-module#comments</comments><description>Current Revision posted to API Documentation by Ben Tiedt on 11/19/2019 20:27:20&lt;br /&gt;
&lt;hr class="generated-documentation-start" style="border-width:0;" /&gt;&lt;h3&gt;&lt;a id="jQuery_telligent_evolution_navigationConfirmation" name="jQuery_telligent_evolution_navigationConfirmation"&gt;&lt;/a&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 by clicking an unregistered link or button.&lt;/p&gt;
&lt;h3&gt;&lt;a id="Methods" name="Methods"&gt;&lt;/a&gt;Methods&lt;/h3&gt;
&lt;h4&gt;&lt;a id="configure" name="configure"&gt;&lt;/a&gt;configure&lt;/h4&gt;
&lt;p&gt;Configures the message shown when the navigation confirmation is rendered.  This is automatically set to a standard evolution-wide message.  Note that this configuration is global.  Only a single confirmation can be rendered.  Options include:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;$.telligent.evolution.navigationConfirmation.configure(options)
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;&lt;em&gt;options:&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;*&lt;code&gt;baseUrl&lt;/code&gt;: the base URL of the site.&lt;/p&gt;
&lt;h4&gt;&lt;a id="enable" name="enable"&gt;&lt;/a&gt;enable&lt;/h4&gt;
&lt;p&gt;Enables the navigation confirmation message.  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.&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;$.telligent.evolution.navigationConfirmation.enable()
&lt;/code&gt;&lt;/pre&gt;

&lt;h4&gt;&lt;a id="register" name="register"&gt;&lt;/a&gt;register&lt;/h4&gt;
&lt;p&gt;Registers an element, a jQuery selector, or a jQuery collection representing safe elements to prevent the navigation confirmation when clicked.&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;$.telligent.evolution.navigationConfirmation.register(elements)
&lt;/code&gt;&lt;/pre&gt;

&lt;h4&gt;&lt;a id="ignoreClick" name="ignoreClick"&gt;&lt;/a&gt;ignoreClick&lt;/h4&gt;
&lt;p&gt;Enabled backwards compatibility with the preview ASP.Net control-based implementation.  Temporary disables the navigation confirmation message.&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>