Histórico da Página
...
Arquivo | Conteúdo |
---|---|
totvs-html-framework-sample/html/execution/execution.html | Arquivo HTML da tela de execução. |
totvs-html-framework-sample/html/execution/execution.controller.js | Arquivo JavaScript com o controller necessário para ser utilizado pela execução. |
totvs-html-framework-sample/html/execution/execution.service.js | Arquivo JavaScript com o service (factory, service ou provider) para enviar os dados para o servidor. |
totvs-html-framework-sample/html/execution/execution.js
| Arquivo JavaScript que o framework chama para inicializar os states das telas. (ver exemplo abaixo) |
Para iniciar a tela de execução.
Bloco de código | ||||||
---|---|---|---|---|---|---|
| ||||||
/*global define */ define(['index', '/totvs-html-framework-sample/html/execution/execution.service.js', '/totvs-html-framework-sample/html/execution/execution.controller.js'], function (index) { 'use strict'; index.stateProvider .state('totvs-html-framework-sample/execution', { abstract: true, template: '<ui-view />' }) .state('totvs-html-framework-sample/execution.start', { url: '/totvs-html-framework-sample/execution/', controller: 'totvs-html-framework-sample.execution.Control', controllerAs: 'controller', templateUrl: '/totvs-html-framework-sample/html/execution/execution.html' }); }); |
...
Import HTML Content
Visão Geral
Conteúdo das Ferramentas