Total Complexity | 19 |
Complexity/F | 1 |
Lines of Code | 26 |
Function Count | 19 |
Duplicated Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | //Write this document for import for all functions of Lavine.js// |
||
2 | |||
3 | //render Lavine module |
||
4 | export class Render{ |
||
5 | /** |
||
6 | * Create one new Element for your page,insert one Id. |
||
7 | * @param {string} renderElement name of tag Html what your want add to page. |
||
8 | * @param {string} content Content for your new element. |
||
9 | * @param {string} selectObject Target object of your add the new element. |
||
10 | * @param {string} Id Id target for ypur new element. |
||
11 | */ |
||
12 | newElement(renderElement:any,content:any,selectObject:any,classList:any,Id:any):void |
||
13 | createHtml(elementTarget:any,content:any):void |
||
14 | changeContent(id:any,content:any):void |
||
15 | removeElement(element:any):void |
||
16 | setAtribute(elementId:any,atribute:any,value:any):void |
||
17 | addStyle(elementId:any,ruleCss:any):void |
||
18 | registerDinamicPage(pageId:any):void |
||
19 | clearPage():void |
||
20 | } |
||
21 | |||
22 | export class Components{ |
||
23 | createComponent(componentName:any,content:any):void |
||
24 | renderComponent(targetRender:any,componentName:any):void |
||
25 | addListener(targetElement:any,type:any,functionCall:any):void |
||
26 | } |