mirror of
https://github.com/embarklabs/neo-blessed.git
synced 2025-02-09 09:34:47 +00:00
form methods.
This commit is contained in:
parent
9673eaf517
commit
1236f23f9e
@ -4444,6 +4444,20 @@ Form.prototype.focusPrevious = function() {
|
|||||||
this.previous().focus();
|
this.previous().focus();
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Form.prototype.resetSelected = function() {
|
||||||
|
this._selected = null;
|
||||||
|
};
|
||||||
|
|
||||||
|
Form.prototype.focusFirst = function() {
|
||||||
|
this.resetSelected();
|
||||||
|
this.next().focus();
|
||||||
|
};
|
||||||
|
|
||||||
|
Form.prototype.focusLast = function() {
|
||||||
|
this.resetSelected();
|
||||||
|
this.previous().focus();
|
||||||
|
};
|
||||||
|
|
||||||
Form.prototype.submit = function() {
|
Form.prototype.submit = function() {
|
||||||
var self = this
|
var self = this
|
||||||
, out = {};
|
, out = {};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user