Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

The idea for the prototype is to get experience with angularjs

with angularjs webcomponents should be easy to make

angular supports something called directives which basically wraps fold an blob of html into one new html tag

so <datafield dataProviderID="record.orderid" /> expands to something like <div class="xyz"><input type="text" value="{{record.orderid}}"></div>

an directive like "datafield" is the basic building block for a webcomponent, see "Create Components" section at: http://angularjs.org (especially see the component.js tab there)

 

 

  • No labels