Skip to content

jqmRemoveData: Update signature to include argument #330

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 5 additions & 9 deletions entries/jqmRemoveData.xml
Original file line number Diff line number Diff line change
@@ -1,18 +1,14 @@
<?xml version="1.0"?>
<entry type="method" name="jqmRemoveData" return="Object">
<title>jqmRemoveData()</title>
<title>.jqmRemoveData()</title>
<desc>Remove a previously-stored piece of data.</desc>
<signature>
<argument name="prop" type="String">
<desc>A string naming the piece of data to delete.</desc>
</argument>
</signature>
<longdesc>
<p>When working with jQuery Mobile, jqmRemoveData should be used in place of jQuery core's <code>removeData</code> method (note that this includes <code>$.fn.data</code>, <code>$.fn.removeData</code>, and the <code>$.data</code>, <code>$.removeData</code>, and <code>$.hasData</code> utilities), as they automatically incorporate getting and setting of namespaced data attributes (even if no namespace is currently in use).
</p>
<dd>
<dl>
<dt>Arguments:</dt>
<dd>See <a href="//api.jquery.com/jQuery.removeData/">jQuery's removeData</a> method</dd>
</dl>
</dd>
<p>When working with jQuery Mobile, jqmRemoveData should be used in place of jQuery core's <code>removeData</code> method (note that this includes <code>$.fn.data</code>, <code>$.fn.removeData</code>, and the <code>$.data</code>, <code>$.removeData</code>, and <code>$.hasData</code> utilities), as they automatically incorporate getting and setting of namespaced data attributes (even if no namespace is currently in use).</p>
</longdesc>
<category slug="methods"/>
</entry>