electron/lib/browser/api/views/label-button.js

16 lines
349 B
JavaScript
Raw Normal View History

2018-05-24 17:11:08 +09:00
'use strict'
const electron = require('electron')
2018-09-14 02:10:51 +10:00
const { Button } = electron
const { LabelButton } = process.atomBinding('label_button')
2018-05-24 17:11:08 +09:00
Object.setPrototypeOf(LabelButton.prototype, Button.prototype)
LabelButton.prototype._init = function () {
// Call parent class's _init.
Button.prototype._init.call(this)
}
module.exports = LabelButton