How to use the application.start function in application

To help you get started, we’ve selected a few application examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github NativeScript / nativescript-cli-tests / data / apps / livesync-hello-world / app.js View on Github external
var application = require("application");
application.setCssFileName("./app.css");
application.start("main-page");
github NativeScript / nativescript-angular / nativescript-angular / platform-common.ts View on Github external
private bootstrapApp() {
    global.__onLiveSyncCore = () => this.livesyncModule();

    const mainPageEntry = this.createNavigationEntry(this._bootstrapper);

    application.start(mainPageEntry);
  }
github nativescript-vue / nativescript-vue / nativescript-vue / platform / nativescript / renderer / document.js View on Github external
insertBefore(newNode, referenceNode) {
        if (this.hasNonPlaceholderChild(this.view)) {
            throw new Error(`only one root is allowed.`)
        }
        if (newNode.type !== 'page') {
            throw new Error(`root node must be . <${newNode.type}> given.`)
        }

        if (this.isRootElement) {
            this.isRootElement = false
            this.placeholder = newNode
        }

        start({
            create() {
                return newNode.view
            }
        })
    }
}

application

unified http and websocket api

Unknown
Latest version published 12 years ago

Package Health Score

28 / 100
Full package analysis

Popular application functions