Entity Detail example

22-11-2018
The complete EntityDetail control with title, buttons, etc... ```typescript S.addRoute("/admin/amura/uidemo/product", args => { let model = { id: 1, name: "Water", price: 1.5 } let detail = new admin.EntityDetail("amura.billing.product") detail.render(model) let view = new admin.AdminView("padding"); let tile = new S.Tile(); view.content.appendChild(tile.element); tile.element.appendChild(detail.element); S.setView(view); }) ``` Build only the form ```typescript let entity = S.getEntity("amura.billing.product") let form = S.buildForm(entity.properties) form.render(model) ```
Frontend

Amura