electron/lib/browser/api/text-field.js
2018-09-14 14:57:01 +10:00

15 lines
333 B
JavaScript

'use strict'
const electron = require('electron')
const { View } = electron
const { TextField } = process.atomBinding('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