Contents |
5 Tabs รก 4 Spaces or 20 Spaces
@example Write here
going on ...
The separator has no effect for the documentation, it's only a visual style for a better overview.
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
key | optional | multiple |
@plugin
@dependencies x
@entry x
@categories
@syntax x x
@added
@deprecated x
@removed x
@param x x
@return x
@option x x
@added
@deprecated x
@removed x
@default x
@description
@note x x
@example x
@js x
@html x
@xml x
@code x
@css x
@results x
@event x x
@added
@deprecated x
@removed x
@method x x
@syntax x
@added
@deprecated x
@removed x
@param x x
@return x
@description
Name of the plugin
@plugin jQuery.cookie
Dependency of plugin 1 | Dependency of plugin N | ...
@dependencies jQuery.cookie | jQuery.class | jQuery.string
Name of the entry | Short description | Type of entry
@entry jQuery.cookie() | Get the value of a cookie. | method
@entry .sub() | Change the used class. | method
@entry .jquerysdk | A string containing the jQuery SDK version number. | property
@entry :readonly | Selects all elements that are readonly. | selector
@entry border-radius | Set/get CSS border radius. | style
@entry mousedrag | Bind special event on mouse drag. | event
@entry Plugin Controller | Configure default values for the plugin/dependencies controller. | config
Name of the category 1 | Name of the category N | ...
@categories Data | Form | Events
How to call / use
@syntax jQuery.cookie( key )
@syntax jQuery.cookie( key, value, [ options ] )
@syntax .sub( jQuerySubClass )
@syntax .jquerysdk
@syntax :readonly
@syntax border-top-left-radius
@syntax .bind( 'mousedrag', ... )
@syntax jQueryConfig.depend[ options ]
Version when added
@added 1.0
Version when deprecated
@added 1.0
Version when removed
@added 1.0
Name of the parameter | Description of the parameter | [Optional],Type1,TypeN,...
@param key | A string naming the cookie to get. | String
@param key | A string naming the cookie to set. | String @param value | The new cookie value. | String @param options | A map of additional options pass to the method. | Optional,Object
Type of the return value
@return String
@return Array
To use @option need to add a @param option to the syntax definition.
Name of the option | Description of the option | [Optional],Type1,TypeN,...
@option path | A path prefix to limit the validity of the cookie to a specific path / path prefix. | String
@option expire | A number of days as storability or an expire date for the cookie. | Optional,Number,Object
Default value of an option
@default false
@default ':first-child'
A long description in Qdoc wiki syntax, all html chars will be quoted automatically.
@description Get a previous stored cookie by a key name.
Thanks for this great plugin to [http://stilbuero.de Klaus Hartl].
A note in Qdoc wiki syntax, all html chars will be quoted automatically.
@note Read more at [http://jquery.com jQuery].
Short description or title of the example
@example Set some cookies.
A URL to the used javascript file in the example
@js http://src.jquerysdk.com/1.0/script/jQuery/core.js
The HTML code of the example.
@html <div>
<ul class="list">
</ul>
</div>
The XML code of the example, may be loaded via Ajax.
@xml <tag>
<item optional="true"/>
<item optional="false"/>
</tag>
Javascript code of the example
@code // set a cookie
$.cookie( 'foo', 'bar' );
// get get cookie
$.cookie( 'foo' );
CSS used for the example
@css .selector {
display: none;
}
Result of the example, this could be a value, HTML or XML
@results true
@results <div>
<ul class="list">
<li>list entry 1</li>
<li>list entry 2</li>
<li>list entry 3</li>
<li>list entry 4</li>
</ul>
</div>
An event which will triggered from the entry during the run time, especially used for ui widgets.
Name of the event | Short description of the event
@event change | This event is triggered every time the accordion starts to change.
An available method of the returned object of the entry. Also used for ui widgets.
Name of the method | Short description of the method
@method destroy | Remove the widget functionality completely.