electron/lib/browser/api/text-field.js

16 lines
333 B
JavaScript
Raw Normal View History

2018-05-24 07:26:17 +00:00
'use strict'
const electron = require('electron')
2018-09-13 16:10:51 +00:00
const { View } = electron
const { TextField } = process.atomBinding('text_field')
2018-05-24 07:26:17 +00:00
Object.setPrototypeOf(TextField.prototype, View.prototype)
TextField.prototype._init = function () {
// Call parent class's _init.
View.prototype._init.call(this)
}
module.exports = TextField