Skip to content

Latest commit

 

History

History
18 lines (15 loc) · 436 Bytes

jetview-properties.md

File metadata and controls

18 lines (15 loc) · 436 Bytes

JetView Properties

app

Refers to the app in which the current view is initialized. app can be used for accessing app config and methods.

// views/top.js
import {JetView} from "webix-jet";
export default class TopView extends JetView {
    config(){
        const _ = this.app.getService("locale")._;
        return {
            template: _("Welcome to the world of eternal happiness!")
        };
    }
}