Skip to navigation
Javascript code readme.md generator
22.03.22
1. sudo npm install --save-dev jsdoc-to-markdown -g 2.usage: jsdoc2md test.js > readme.md test.js: /** @param {string} - row_id @param {string} - data id @param {object} - col_model for the table @example * let data_url = api + '/phone_detail?f=data&_id='; * let col_model_url = api + '/phone_detail?f=col_model'; * let col_model = JSON.parse(await vwu.aget_api(col_model_url)); */ async function subgrid(_id, id, data_url, col_model) { let url = data_url + id; let $s1 = jQuery("
"); $s1.appendTo("#" + jQuery.jgrid.jqID(_id)); $s1.jqGrid({ colModel: col_model, datatype: "json", url: url, gridview: true, rownumbers: true, autoencode: true, sortname: "c1", sortorder: "desc", caption: id }); }
https://github.com/jsdoc2md/jsdoc-to-markdown
Reply
Anonymous
Information Epoch 1758027072
Build a prototype as soon as possible.
Home
Notebook
Contact us