electron/lib/browser/api/views/md-text-button.js

16 lines
382 B
JavaScript
Raw Normal View History

2020-03-20 20:28:31 +00:00
'use strict';
2020-03-20 20:28:31 +00:00
const electron = require('electron');
2020-03-20 20:28:31 +00:00
const { LabelButton } = electron;
const { MdTextButton } = process.electronBinding('md_text_button');
2020-03-20 20:28:31 +00:00
Object.setPrototypeOf(MdTextButton.prototype, LabelButton.prototype);
MdTextButton.prototype._init = function () {
// Call parent class's _init.
2020-03-20 20:28:31 +00:00
LabelButton.prototype._init.call(this);
};
2020-03-20 20:28:31 +00:00
module.exports = MdTextButton;