Árvore de páginas

Versões comparadas

Chave

  • Esta linha foi adicionada.
  • Esta linha foi removida.
  • A formatação mudou.

...

ArquivoConteúdo
 totvs-html-framework-sample/html/execution/execution.htmlArquivo HTML da tela de execução.
 totvs-html-framework-sample/html/execution/execution.controller.jsArquivo JavaScript com o controller necessário para ser utilizado pela execução.
 totvs-html-framework-sample/html/execution/execution.service.jsArquivo 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
languagejs
titleexecution.js
linenumberstrue
/*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'
        });
});

...