Bug Tracker

Opened 7 years ago

Closed 7 years ago

#13071 closed feature (wontfix)

Feature Request: .queue() does not accept arguments

Reported by: garromark@… Owned by:
Priority: undecided Milestone: None
Component: unfiled Version: 1.8.3
Keywords: Cc:
Blocked by: Blocking:

Description

I would like to pass in the scope as an argument to a queued function, like I would normally use the .call() function from javascript for. For events, I tend to use

.on(eventName, {"scope": this}, functionName);

in order to pass the scope. Please add the ability to do so with .queue().

Change History (1)

comment:1 Changed 7 years ago by dmethvin

Resolution: wontfix
Status: newclosed

There are several solutions including proxy or closures, I don't think we need to add more options to the API.

Note: See TracTickets for help on using tickets.