electron/lib/browser/api/views/text-field.js
2020-03-20 13:28:31 -07:00

15 lines
345 B
JavaScript

'use strict';
const electron = require('electron');
const { View } = electron;
const { TextField } = process.electronBinding('text_field');
Object.setPrototypeOf(TextField.prototype, View.prototype);
TextField.prototype._init = function () {
// Call parent class's _init.
View.prototype._init.call(this);
};
module.exports = TextField;