Skip to content

Commit

Permalink
makes TextBox use BaseClass on event
Browse files Browse the repository at this point in the history
  • Loading branch information
davelandry committed Oct 25, 2016
1 parent 77f641a commit 75bd4ad
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions src/TextBox.js
Original file line number Diff line number Diff line change
Expand Up @@ -407,16 +407,6 @@ function(d, i) {
return arguments.length ? (this._lineHeight = typeof _ === "function" ? _ : constant(_), this) : this._lineHeight;
}

/**
@memberof TextBox
@desc Adds or removes a *listener* to each box for the specified event *typenames*. If a *listener* is not specified, returns the currently-assigned listener for the specified event *typename*. Mirrors the core [d3-selection](https://github.com/d3/d3-selection#selection_on) behavior.
@param {String} [*typenames*]
@param {Function} [*listener*]
*/
on(typenames, listener) {
return arguments.length === 2 ? (this._on[typenames] = listener, this) : arguments.length ? this._on[typenames] : this._on;
}

/**
@memberof TextBox
@desc If *value* is specified, sets the overflow accessor to the specified function or boolean and returns this generator. If *value* is not specified, returns the current overflow accessor.
Expand Down

0 comments on commit 75bd4ad

Please sign in to comment.