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

16 lines
349 B
JavaScript
Raw Normal View History

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