Opened 10 years ago

Closed 10 years ago

#14999 closed defect (fixed)

dojo/mouse doesn't have isButton() method

Reported by: [email protected] Owned by: [email protected]
Priority: undecided Milestone: 1.8
Component: Events Version: 1.7.2
Keywords: Cc:
Blocked By: Blocking:

Description (last modified by bill)

module: dojo/mouse missing isButton() method

	return {
		enter: eventHandler("mouseover"),
		leave: eventHandler("mouseout"),
		isLeft: mouseButtons.isLeft,
		isMiddle: mouseButtons.isMiddle,
		isRight: mouseButtons.isRight

Change History (3)

comment:1 Changed 10 years ago by bill

Description: modified (diff)
Owner: changed from Kris Zyp to [email protected]
Status: newpending
Summary: dojo/mousedojo/mouse doesn't have isButton() method

It's definitely true that it doesn't have the isButton() method but I left it out on-purpose because it didn't seem necessary, see [26063]. What's the reason that you wanted it?

comment:2 Changed 10 years ago by [email protected]

Status: pendingnew

I have tested it according to the documentation and there I found it. I thought that it was forgotten.

comment:3 Changed 10 years ago by bill

Milestone: tbd1.8
Resolution: fixed
Status: newclosed

Ah I see. OK, thanks, I updated the documentation (for the upcoming 1.8 release) to remove that function. If it turns out to be needed by someone we'll add it back. (Or if Kris wants to export it.)

Note: See TracTickets for help on using tickets.