vegana
Version:
vegana is a container based js framework
61 lines • 1.75 kB
JSON
{
"template": [
"2iyza9rkkm1pgl2c",
"2iyza7ekkm2stknj"
],
"rows": {
"2iyza9rkkm1pgl2c": {
"id": "2iyza9rkkm1pgl2c",
"template": [
"2iyza9rkkm1pgmf8",
"2iyza9rkkm1pgwzx"
],
"containers": {
"2iyza9rkkm1pgmf8": {
"id": "2iyza9rkkm1pgmf8",
"field": {
"type": "heading",
"data": {
"value": "engine.loader.load.comp"
}
}
},
"2iyza9rkkm1pgwzx": {
"id": "2iyza9rkkm1pgwzx",
"field": {
"type": "paragraph",
"data": {
"value": "this api loads the lazy comp module in vegana js"
}
},
"style": {
"width": "90%"
}
}
}
},
"2iyza7ekkm2stknj": {
"id": "2iyza7ekkm2stknj",
"template": [
"2iyza7ekkm2stlnb"
],
"containers": {
"2iyza7ekkm2stlnb": {
"id": "2iyza7ekkm2stlnb",
"field": {
"type": "code",
"data": {
"value": "\n\nengine.loader.load.comp(compName,load_css)\n\n//compname should be full compName\n//load css will load the lazy css along with the module it is false by default\n\n//this returns a boolean\nlet loadComp = await engine.loader.load.comp(\"sampleComp\",true);\n\n//output is true if it loads offcourse\n"
}
},
"style": {
"width": "90%"
}
}
}
}
},
"title": "Vegana Api : Engine Loader Load Comp",
"keywords": "vegana,api,engine,loader,load,comp",
"discription": "how to load a lazy comp module in vegana js."
}