@xassist/xassist-eventdispatcher
Version:
general eventdispatcher class
40 lines (36 loc) • 1.25 kB
JavaScript
var csv2readme = require('csv2readme');
const definition = require("./package.json");
var options={
input:{
base:"../../helpData/csv/base.csv",
functionParam:"../../helpData/csv/functionParameters.csv",
classDef:"../../helpData/csv/classDefinition.csv"
},
moduleName:"xassist-eventdispatcher",
globalTOC:false,
header:{
title:"@xassist/xassist-eventdispatcher",
explanation:["This module creates a general EventDispatcher class", "The class can beused to add listneres, and fire events."].join("\r\n")
},
headerFiles:["../../helpData/markdown/installationModule.md"],
includeDependencies:true,
includeLicense:true,
footerFiles:[/*"dependencies.md","src/license.md"*/],
subTitle:"API",
output:{
file:"README.md"
},
baseLevel:3,
headerTemplates:{
moduleName:"xassist-eventdispatcher",
moduleUrl:"https://raw.githubusercontent.com/GregBee2/xassist-csv/master/dist/xAssist-eventdispatcher.min.js",
libraryName:"xassist",
libraryUrl:"https://github.com/GregBee2/xassist",
moduleTest:"EventDispatcher()"
},
footerTemplates:{
/*license:definition.license,
licenseUrl:"https://choosealicense.com/licenses/"+definition.license.toLowerCase()*/
}
};
csv2readme.init(options);