Skip to content

Commit 470bc6c

Browse files
committed
Update @return comments
1 parent 2ecebe1 commit 470bc6c

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

src/core/core.interaction.js

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -198,7 +198,7 @@ export default {
198198
* @param {Event} e - the event we are find things at
199199
* @param {InteractionOptions} options - options to use
200200
* @param {boolean} [useFinalPosition] - use final element position (animation target)
201-
* @return {InteractionItem[]} Array of elements that are under the point. If none are found, an empty array is returned
201+
* @return {InteractionItem[]} - items that are found
202202
*/
203203
index: function(chart, e, options, useFinalPosition) {
204204
const position = getRelativePosition(e, chart);
@@ -234,7 +234,7 @@ export default {
234234
* @param {Event} e - the event we are find things at
235235
* @param {InteractionOptions} options - options to use
236236
* @param {boolean} [useFinalPosition] - use final element position (animation target)
237-
* @return {InteractionItem[]} Array of elements that are under the point. If none are found, an empty array is returned
237+
* @return {InteractionItem[]} - items that are found
238238
*/
239239
dataset: function(chart, e, options, useFinalPosition) {
240240
const position = getRelativePosition(e, chart);
@@ -263,7 +263,7 @@ export default {
263263
* @param {Event} e - the event we are find things at
264264
* @param {InteractionOptions} options - options to use
265265
* @param {boolean} [useFinalPosition] - use final element position (animation target)
266-
* @return {InteractionItem[]} Array of elements that are under the point. If none are found, an empty array is returned
266+
* @return {InteractionItem[]} - items that are found
267267
*/
268268
point: function(chart, e, options, useFinalPosition) {
269269
const position = getRelativePosition(e, chart);
@@ -278,7 +278,7 @@ export default {
278278
* @param {Event} e - the event we are find things at
279279
* @param {InteractionOptions} options - options to use
280280
* @param {boolean} [useFinalPosition] - use final element position (animation target)
281-
* @return {InteractionItem[]} Array of elements that are under the point. If none are found, an empty array is returned
281+
* @return {InteractionItem[]} - items that are found
282282
*/
283283
nearest: function(chart, e, options, useFinalPosition) {
284284
const position = getRelativePosition(e, chart);
@@ -293,7 +293,7 @@ export default {
293293
* @param {Event} e - the event we are find things at
294294
* @param {InteractionOptions} options - options to use
295295
* @param {boolean} [useFinalPosition] - use final element position (animation target)
296-
* @return {InteractionItem[]} Array of elements that are under the point. If none are found, an empty array is returned
296+
* @return {InteractionItem[]} - items that are found
297297
*/
298298
x: function(chart, e, options, useFinalPosition) {
299299
const position = getRelativePosition(e, chart);
@@ -325,7 +325,7 @@ export default {
325325
* @param {Event} e - the event we are find things at
326326
* @param {InteractionOptions} options - options to use
327327
* @param {boolean} [useFinalPosition] - use final element position (animation target)
328-
* @return {InteractionItem[]} Array of elements that are under the point. If none are found, an empty array is returned
328+
* @return {InteractionItem[]} - items that are found
329329
*/
330330
y: function(chart, e, options, useFinalPosition) {
331331
const position = getRelativePosition(e, chart);

0 commit comments

Comments
 (0)