electron/lib/browser/api/views/box-layout.js

16 lines
364 B
JavaScript
Raw Normal View History

2018-05-22 17:08:27 +09:00
'use strict'
const electron = require('electron')
2018-09-14 02:10:51 +10:00
const { LayoutManager } = electron
const { BoxLayout } = process.electronBinding('box_layout')
2018-05-22 17:08:27 +09:00
Object.setPrototypeOf(BoxLayout.prototype, LayoutManager.prototype)
BoxLayout.prototype._init = function () {
// Call parent class's _init.
LayoutManager.prototype._init.call(this)
}
module.exports = BoxLayout