Opened 7 years ago

Closed 7 years ago

#14999 closed defect (fixed)

dojo/mouse doesn't have isButton() method

Reported by: DojoNovice@… Owned by: DojoNovice@…
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 7 years ago by bill

Description: modified (diff)
Owner: changed from Kris Zyp to DojoNovice@…
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 7 years ago by DojoNovice@…

Status: pendingnew

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

comment:3 Changed 7 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.