[ { "comment": "/**\n * @file JavaScript for draggable tables.\n */", "meta": { "lineno": 1, "filename": "jsdoc.js", "code": {} }, "name": "file:jsdoc.js", "kind": "file", "description": "JavaScript for draggable tables.", "preserveName": true, "longname": "file:jsdoc.js" }, { "comment": "/**\n * Indicates that columns have changed in a table.\n *\n * @param {String} type\n * Type of change: 'show' or 'hide'.\n * \n * @event columnschange\n */", "meta": { "lineno": 60, "filename": "jsdoc.js", "code": {} }, "description": "Indicates that columns have changed in a table.", "params": [ { "type": { "names": [ "String" ], "optional": null, "nullable": null, "variable": null }, "name": "type", "description": "Type of change: 'show' or 'hide'." } ], "kind": "event", "name": "columnschange", "longname": "event:columnschange" }, { "comment": "/**\n * @global\n * @namespace\n */", "meta": { "lineno": 9, "filename": "jsdoc.js", "code": { "id": "astnode1331424390", "name": "Drupal", "type": "OBJECTLIT", "value": "OBJECTLIT" } }, "scope": "global", "kind": "namespace", "name": "Drupal", "longname": "Drupal" }, { "comment": "/**\n * @namespace\n */", "meta": { "lineno": 14, "filename": "jsdoc.js", "code": { "id": "astnode951884837", "name": "Drupal.behaviors", "type": "OBJECTLIT", "value": "OBJECTLIT" } }, "kind": "namespace", "name": "behaviors", "memberof": "Drupal", "longname": "Drupal.behaviors", "scope": "static" }, { "comment": "/**\n * Attaches the table drag behavior to tables.\n * @type {Object}\n *\n * @property {Function} attach\n * My attach description\n * @property {Function} detach\n * My detach description\n */", "meta": { "lineno": 26, "filename": "jsdoc.js", "code": { "id": "astnode1169239195", "name": "Drupal.behaviors.tableDrag", "type": "OBJECTLIT", "value": "OBJECTLIT" } }, "description": "Attaches the table drag behavior to tables.", "type": { "names": [ "Object" ], "optional": null, "nullable": null, "variable": null }, "properties": [ { "type": { "names": [ "Function" ], "optional": null, "nullable": null, "variable": null }, "description": "My attach description", "name": "attach" }, { "type": { "names": [ "Function" ], "optional": null, "nullable": null, "variable": null }, "description": "My detach description", "name": "detach" } ], "name": "tableDrag", "kind": "member", "memberof": "Drupal.behaviors", "longname": "Drupal.behaviors.tableDrag", "scope": "static" }, { "comment": "", "meta": { "lineno": 28, "filename": "jsdoc.js", "code": { "id": "astnode79065293", "name": "attach", "type": "FUNCTION", "value": "FUNCTION", "paramnames": [ "context", "settings" ] } }, "undocumented": true, "name": "attach", "kind": "function", "memberof": "Drupal.behaviors.tableDrag", "scope": "static", "longname": "Drupal.behaviors.tableDrag.attach" }, { "comment": "/**\n * Returns the value of foo for the current widget.\n *\n * Description of this ordinary function in the Drupal namespace goes here.\n *\n * @return\n * The value of foo in the current widget.\n */", "meta": { "lineno": 40, "filename": "jsdoc.js", "code": { "id": "astnode476896112", "name": "Drupal.getCurrentFoo", "type": "FUNCTION", "value": "FUNCTION", "paramnames": [] } }, "description": "Returns the value of foo for the current widget.\n\nDescription of this ordinary function in the Drupal namespace goes here.", "returns": [ { "description": "The value of foo in the current widget." } ], "name": "getCurrentFoo", "kind": "function", "memberof": "Drupal", "longname": "Drupal.getCurrentFoo", "scope": "static" }, { "comment": "/**\n * Constructs a table drag object.\n *\n * @param {HTMLTableElement} table\n * DOM object for the table to be made draggable.\n * @param {Object} tableSettings\n * Settings for the table.\n *\n * @constructor\n * @classdesc Provides the ability to drag to manipulate a table and its fields.\n */", "meta": { "lineno": 54, "filename": "jsdoc.js", "code": { "id": "astnode1801855718", "name": "Drupal.TableDrag", "type": "FUNCTION", "value": "FUNCTION", "paramnames": [ "table", "tableSettings" ] } }, "description": "Constructs a table drag object.", "params": [ { "type": { "names": [ "HTMLTableElement" ], "optional": null, "nullable": null, "variable": null }, "name": "table", "description": "DOM object for the table to be made draggable." }, { "type": { "names": [ "Object" ], "optional": null, "nullable": null, "variable": null }, "name": "tableSettings", "description": "Settings for the table." } ], "kind": "class", "classdesc": "Provides the ability to drag to manipulate a table and its fields.", "name": "TableDrag", "memberof": "Drupal", "longname": "Drupal.TableDrag", "scope": "static" }, { "comment": "", "meta": { "lineno": 57, "filename": "jsdoc.js", "code": { "id": "astnode202251369", "name": "Drupal.myUndocumentedFunction", "type": "FUNCTION", "value": "FUNCTION", "paramnames": [ "undoc1", "undoc2" ] } }, "undocumented": true, "name": "myUndocumentedFunction", "kind": "function", "memberof": "Drupal", "longname": "Drupal.myUndocumentedFunction", "scope": "static" }, { "comment": "/**\n * Hides the columns containing weight and parent form elements.\n *\n * @fires columnschange\n * @see Drupal.TableDrag.prototype.showColumns\n */", "meta": { "lineno": 75, "filename": "jsdoc.js", "code": { "id": "astnode1798800067", "name": "Drupal.TableDrag.prototype.hideColumns", "type": "FUNCTION", "value": "FUNCTION", "paramnames": [] } }, "description": "Hides the columns containing weight and parent form elements.", "fires": [ "event:columnschange" ], "see": [ "Drupal.TableDrag.prototype.showColumns" ], "name": "hideColumns", "kind": "function", "memberof": "Drupal.TableDrag", "longname": "Drupal.TableDrag#hideColumns", "scope": "instance" }, { "comment": "/**\n * Shows the columns containing weight and parent form elements.\n *\n * @fires columnschange\n * @see Drupal.TableDrag.prototype.hideColumns\n */", "meta": { "lineno": 85, "filename": "jsdoc.js", "code": { "id": "astnode1809866482", "name": "Drupal.TableDrag.prototype.showColumns", "type": "FUNCTION", "value": "FUNCTION", "paramnames": [] } }, "description": "Shows the columns containing weight and parent form elements.", "fires": [ "event:columnschange" ], "see": [ "Drupal.TableDrag.prototype.hideColumns" ], "name": "showColumns", "kind": "function", "memberof": "Drupal.TableDrag", "longname": "Drupal.TableDrag#showColumns", "scope": "instance" }, { "files": [ "jsdoc.js" ], "kind": "package", "longname": "package:undefined" } ]