constructor()

in src/row.ts [32:50]


    constructor(opts: RowOptions = {}) {
        const state: GrafanaRow = {
            title: 'New row',
            height: '250px',
            editable: true,
            collapse: false,
            panels: [],
            showTitle: true,
        };

        this.state = xtend(state, opts);
        this.panels = [];

        if (opts.panels) {
            opts.panels.forEach((panel) => {
                this.addPanel(panel);
            });
        }
    }