This framework aims to minimize the retrieval and rendering times by solely relying on javascript to render the Dom. Html is only used to establish a minimal page. JS is also used to style the elements.
base files: indexNV3.html azulstartV3.js and azulLibNV3.js
tested using addElement to add button. addButton will be redundant
base files: indexNV4.html azulstartV4.js and azulLibNV4.js
objective is to use fetch to retrieve js files after rendering the page
- addListeners after rendering the www page
- test extending objects with methods
- test minimizing js code
first results:
- able to add another event listener
- not able to remove old listener prob cause: anonymous fumction
next:
- create event func outside anon func
- perhaps make init a named func instead of an anon func.
azulstartV5: change windows.onload to a named function. made class into an object
remove addButton added eventlist to element object. Now button can be created with addElement.
tested ability to add a grid
todo add event functions to move cursor
tested ability to add table azulTable
todo: add event functions async to move cursor
added azulJson to read json file
changed addIcon:
- addeventlist
- parent optional
added modules:
- tested modules indexV10MOD
- tested dynamic modules
testing azulpdf viewer
- simple viewer from example
todo:
building a viewer
- multiple pages
- zoom
reading selections from a pdf rendered page