| Total Complexity | 2 |
| Complexity/F | 1 |
| Lines of Code | 16 |
| Function Count | 2 |
| Duplicated Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | import EngineApp from '../../Framework/engine.js' |
||
| 2 | |||
| 3 | function example(code){ |
||
| 4 | let eng = new EngineApp() |
||
| 5 | eng.componentsEngine.createComponent("examplea",exampleRender(code)) |
||
| 6 | eng.componentsEngine.renderComponent("dinamic","examplea") |
||
| 7 | } |
||
| 8 | |||
| 9 | function exampleRender(code){ |
||
| 10 | return "<br><div class='blackBoxSh'>"+ |
||
| 11 | "<div class='titleBox'>Live Lavine Editor</div>"+ |
||
| 12 | "<div class='bodyBox'>"+code+"</div>"+ |
||
| 13 | "</div>" |
||
| 14 | } |
||
| 15 | |||
| 16 | export default example |