UNPKG

vegana

Version:

vegana is a container based js framework

61 lines 1.81 kB
{ "template": [ "2iyza9rkkm1pgl2c", "2iyza7ekkm2stknj" ], "rows": { "2iyza9rkkm1pgl2c": { "id": "2iyza9rkkm1pgl2c", "template": [ "2iyza9rkkm1pgmf8", "2iyza9rkkm1pgwzx" ], "containers": { "2iyza9rkkm1pgmf8": { "id": "2iyza9rkkm1pgmf8", "field": { "type": "heading", "data": { "value": "engine.loader.load.cont" } } }, "2iyza9rkkm1pgwzx": { "id": "2iyza9rkkm1pgwzx", "field": { "type": "paragraph", "data": { "value": "this api loads the lazy cont 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.cont(pageName,contName,load_css)\n\n//pageName should be full pageName\n//contName should be full contName\n//load css will load the lazy css along with the module it is false by default\n\n//this returns a boolean\nlet loadCont = await engine.loader.load.cont(\"samplePage\",\"sampleCont\",true);\n\n//output is true if it loads offcourse\n" } }, "style": { "width": "90%" } } } } }, "title": "Vegana Api : Engine Loader Load Cont", "discription": "how to load a lazy cont module in vegana js.", "keywords": "vegana,api,engine,loader,load,cont" }