From: Alan Knowles Date: Wed, 16 Jan 2019 07:50:00 +0000 (+0800) Subject: Changed docs/src/Roo_bootstrap_Alert.js.htmldocs/src/Roo_bootstrap_BezierSignature... X-Git-Url: http://git.roojs.org/?p=roojs1;a=commitdiff_plain;h=b4518379a854ec80681dbf54a4cd4671027b88d9 Changed docs/src/Roo_bootstrap_Alert.js.htmldocs/src/Roo_bootstrap_BezierSignature.js.htmldocs/src/Roo_tree_TreeLoader.js.htmldocs/src/Roo_tree_TreeNode.js.htmldocs/symbols/Roo.bootstrap.Alert.jsondocs/symbols/Roo.bootstrap.BezierSignature.jsondocs/symbols/Roo.tree.TreeLoader.json --- diff --git a/docs/src/Roo_bootstrap_Alert.js.html b/docs/src/Roo_bootstrap_Alert.js.html index 90449b1c07..c04df70e0c 100644 --- a/docs/src/Roo_bootstrap_Alert.js.html +++ b/docs/src/Roo_bootstrap_Alert.js.html @@ -1,14 +1,12 @@ -/home/alan/gitlive/roojs1/Roo/bootstrap/Alert.js/* - * - LGPL - * - * Alert - * - */ - -/** +/home/alan/gitlive/roojs1/Roo/bootstrap/Alert.js/** * @class Roo.bootstrap.Alert * @extends Roo.bootstrap.Component - * Bootstrap Alert class + * Bootstrap Alert class - shows an alert area box + * eg + * <div class="alert alert-danger" role="alert"><span class="fa fa-exclamation-triangle"></span><span class="sr-only">Error:</span> + Enter a valid email address +</div> + * @licence LGPL * @cfg {String} title The title of alert * @cfg {String} html The content of alert * @cfg {String} weight ( success | info | warning | danger ) diff --git a/docs/src/Roo_bootstrap_BezierSignature.js.html b/docs/src/Roo_bootstrap_BezierSignature.js.html index a0892af4a9..895c98f87c 100644 --- a/docs/src/Roo_bootstrap_BezierSignature.js.html +++ b/docs/src/Roo_bootstrap_BezierSignature.js.html @@ -1,15 +1,12 @@ /home/alan/gitlive/roojs1/Roo/bootstrap/BezierSignature.js/** -* This script refer to: -* Title: Signature Pad -* Author: szimek -* Availability: https://github.com/szimek/signature_pad -**/ - -/** * @class Roo.bootstrap.BezierSignature * @extends Roo.bootstrap.Component * Bootstrap BezierSignature class - * + * This script refer to: + * Title: Signature Pad + * Author: szimek + * Availability: https://github.com/szimek/signature_pad + * * @constructor * Create a new BezierSignature * @param {Object} config The config object @@ -253,7 +250,7 @@ this.strokeUpdate(e); if (this.throttle) { - this.throttle(this.strokeUpdate, this.throttle); + this.throttleStroke(this.strokeUpdate, this.throttle); } else { this.strokeUpdate(e); @@ -544,7 +541,7 @@ return Bezier; }()), - throttle: function(fn, wait) { + throttleStroke: function(fn, wait) { if (wait === void 0) { wait = 250; } var previous = 0; var timeout = null; diff --git a/docs/src/Roo_tree_TreeLoader.js.html b/docs/src/Roo_tree_TreeLoader.js.html index 82ff8e345d..32243fcaf0 100644 --- a/docs/src/Roo_tree_TreeLoader.js.html +++ b/docs/src/Roo_tree_TreeLoader.js.html @@ -39,7 +39,9 @@ myTreeLoader.on("beforeload", function(treeLoader, node) { this.baseParams.category = node.attributes.category; }, this); -</code></pre>< + +</code></pre> + * * This would pass an HTTP parameter called "category" to the server containing * the value of the Node's "category" attribute. * @constructor diff --git a/docs/src/Roo_tree_TreeNode.js.html b/docs/src/Roo_tree_TreeNode.js.html index d21dc5699b..05bde94dcb 100644 --- a/docs/src/Roo_tree_TreeNode.js.html +++ b/docs/src/Roo_tree_TreeNode.js.html @@ -18,7 +18,7 @@ * @cfg {Boolean} allowDrop false if this node cannot be drop on * @cfg {Boolean} disabled true to start the node disabled * @cfg {String} icon The path to an icon for the node. The preferred way to do this - * is to use the cls or iconCls attributes and add the icon via a CSS background image. + * is to use the cls or iconCls attributes and add the icon via a CSS background image. * @cfg {String} cls A css class to be added to the node * @cfg {String} iconCls A css class to be added to the nodes icon element for applying css background images * @cfg {String} href URL of the link used for the node (defaults to #) diff --git a/docs/symbols/Roo.bootstrap.Alert.json b/docs/symbols/Roo.bootstrap.Alert.json index 099604c056..22906483e1 100644 --- a/docs/symbols/Roo.bootstrap.Alert.json +++ b/docs/symbols/Roo.bootstrap.Alert.json @@ -5,7 +5,7 @@ "Roo.Component", "Roo.util.Observable" ], - "desc" : "Bootstrap Alert class", + "desc" : "Bootstrap Alert class - shows an alert area box\neg\n
Error:\n Enter a valid email address\n
", "isSingleton" : false, "isStatic" : false, "isBuiltin" : false, diff --git a/docs/symbols/Roo.bootstrap.BezierSignature.json b/docs/symbols/Roo.bootstrap.BezierSignature.json index e6d05549b5..8c4fdb24fa 100644 --- a/docs/symbols/Roo.bootstrap.BezierSignature.json +++ b/docs/symbols/Roo.bootstrap.BezierSignature.json @@ -5,7 +5,7 @@ "Roo.Component", "Roo.util.Observable" ], - "desc" : "Bootstrap BezierSignature class", + "desc" : "Bootstrap BezierSignature class\nThis script refer to:\n Title: Signature Pad\n Author: szimek\n Availability: https://github.com/szimek/signature_pad", "isSingleton" : false, "isStatic" : false, "isBuiltin" : false, diff --git a/docs/symbols/Roo.tree.TreeLoader.json b/docs/symbols/Roo.tree.TreeLoader.json index c963e23626..f2f19f13f4 100644 --- a/docs/symbols/Roo.tree.TreeLoader.json +++ b/docs/symbols/Roo.tree.TreeLoader.json @@ -3,7 +3,7 @@ "augments" : [ "Roo.util.Observable" ], - "desc" : "A TreeLoader provides for lazy loading of an {@link Roo.tree.TreeNode}'s child\nnodes from a specified URL. The response must be a javascript Array definition\nwho's elements are node definition objects. eg:\n
\n{  success : true,\n   data :      [\n   \n    { 'id': 1, 'text': 'A folder Node', 'leaf': false },\n    { 'id': 2, 'text': 'A leaf Node', 'leaf': true }\n    ]\n}\n\n\n
\n

\nThe old style respose with just an array is still supported, but not recommended.\n

\n\nA server request is sent, and child nodes are loaded only when a node is expanded.\nThe loading node's id is passed to the server under the parameter name \"node\" to\nenable the server to produce the correct child nodes.\n

\nTo pass extra parameters, an event handler may be attached to the \"beforeload\"\nevent, and the parameters specified in the TreeLoader's baseParams property:\n
\n    myTreeLoader.on(\"beforeload\", function(treeLoader, node) {\n        this.baseParams.category = node.attributes.category;\n    }, this);\n
<\nThis would pass an HTTP parameter called \"category\" to the server containing\nthe value of the Node's \"category\" attribute.", + "desc" : "A TreeLoader provides for lazy loading of an {@link Roo.tree.TreeNode}'s child\nnodes from a specified URL. The response must be a javascript Array definition\nwho's elements are node definition objects. eg:\n
\n{  success : true,\n   data :      [\n   \n    { 'id': 1, 'text': 'A folder Node', 'leaf': false },\n    { 'id': 2, 'text': 'A leaf Node', 'leaf': true }\n    ]\n}\n\n\n
\n

\nThe old style respose with just an array is still supported, but not recommended.\n

\n\nA server request is sent, and child nodes are loaded only when a node is expanded.\nThe loading node's id is passed to the server under the parameter name \"node\" to\nenable the server to produce the correct child nodes.\n

\nTo pass extra parameters, an event handler may be attached to the \"beforeload\"\nevent, and the parameters specified in the TreeLoader's baseParams property:\n
\n    myTreeLoader.on(\"beforeload\", function(treeLoader, node) {\n        this.baseParams.category = node.attributes.category;\n    }, this);\n    \n
\n\nThis would pass an HTTP parameter called \"category\" to the server containing\nthe value of the Node's \"category\" attribute.", "isSingleton" : false, "isStatic" : false, "isBuiltin" : false, @@ -432,7 +432,7 @@ { "name" : "create", "desc" : "Fires before a node is created, enabling you to return custom Node types", - "memberOf" : "", + "memberOf" : "Roo.tree.TreeLoader", "example" : "", "deprecated" : "", "since" : "", @@ -457,7 +457,7 @@ { "name" : "beforeload", "desc" : "Fires before a network request is made to retrieve the Json text which specifies a node's children.", - "memberOf" : "", + "memberOf" : "Roo.tree.TreeLoader", "example" : "", "deprecated" : "", "since" : "", @@ -488,7 +488,7 @@ { "name" : "load", "desc" : "Fires when the node has been successfuly loaded.", - "memberOf" : "", + "memberOf" : "Roo.tree.TreeLoader", "example" : "", "deprecated" : "", "since" : "", @@ -519,7 +519,7 @@ { "name" : "loadexception", "desc" : "Fires if the network request failed.", - "memberOf" : "", + "memberOf" : "Roo.tree.TreeLoader", "example" : "", "deprecated" : "", "since" : "",