UNPKG

lazo-next

Version:

A client-server web framework built on Node.js that allows front-end developers to easily create a 100% SEO compliant, component MVC structured web application with an optimized first page load.

30 lines (22 loc) 901 B
## LazoView LazoViews extend [flexo.View](https://github.com/lazojs/flexo/blob/master/docs/index.md#flexoview). They are designed to run within the Lazo rendering life cycle. The following properties and methods should **not** be overridden: * `hasTemplate` * `eventNameSpace` * `attributeNameSpace` * `getAttributes` * `augment` * `getInnerHtml` All of the properties and methods can be overridden and will function within the Lazo rendering life cycle allowing you to plugin any rendering solution that is environment agnostic and returns a string. For more information on the different properties and methods please consult the flexo [documentation](https://github.com/lazojs/flexo/blob/master/docs/index.md#flexoview). ```js define(['lazoView'], function (LazoView) { return LazoView.extend({ doSomething: function () { return 'something'; } }); }); ```