Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Item8780: docu for JQTHEME and JQREQUIRE
git-svn-id: http://svn.foswiki.org/trunk@8009 0b4bb1d4-4e5a-0410-9cc4-b2b747904278
- Loading branch information
MichaelDaum
authored and
MichaelDaum
committed
Jul 2, 2010
1 parent
57a2162
commit 2f408ca
Showing
2 changed files
with
22 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,16 @@ | ||
%META:TOPICINFO{author="ProjectContributor" comment="" date="1277983415" format="1.1" version="1"}% | ||
%META:TOPICPARENT{name="JQueryPlugin"}% | ||
#VarJQREQUIRE | ||
---+++ JQREQUIRE{"plugin, pluginm, "} -- enable a plugin on the current page | ||
* ... | ||
* Syntax: ... | ||
* Example: ... | ||
* Related: ... | ||
---+++ JQREQUIRE{"plugin, plugin, ... "} -- enable a plugin on the current page | ||
* This macro will load a list of plugins to be added to the current page. Use [[VarJQPLUGINS][JQPLUGINS]] to display | ||
the list of available and active plugins. While loading a plugin, additional plugins it may depend on are loaded as well. | ||
Information about these dependencies is stored within the plugins themselves an can't be changed. Dependencies also make | ||
sure the javascript code is added to the html page in the right order. It finally makes use of [[VarADDTOZONE][ADDTOZONE]] | ||
to aggregate javascript and css at the right place on a the html page. | ||
* Parameters: | ||
| *Parameter:* | *Description:* | *Default:* | | ||
| "plugin[, plugin, plugin] | list of plugins to be loaded | | | ||
| warn | (on/off) allows you to switch of warnings when a plugin was not found | on | | ||
* Related: JQueryPlugin, [[VarJQPLUGINS]], [[VarADDTOZONE]] | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters