Questions tagged [custom-events]

The custom-events tag is an ambigious tag used when a question targets an event in an event-driven system created an maintained by the asker him or her -self.

The custom-events tag is an ambigious tag used when a question targets an event in an event-driven system created an maintained by the asker him or her -self. This tag should be used with care, and only if the question is about creating, triggering or handling an event that is not part of the default event-handling in the "system" or technology that otherwise is at question.

253 questions
0
votes
1 answer

YUI3 custom async events not working on Y.Global

I am trying implement async event leveraging YUI3 library. So the application had been notified about event passed even with late subscription, simular like load or ready events do. Here it is what I have so far, but no luck around.…
dmi3y
  • 3,482
  • 2
  • 21
  • 32
0
votes
3 answers

Custom events corona sdk

I was wondering if I could use several events on one display table, like several custom events, touch events and enterFrame events. If so, what are the restrictions? can I trigger an event inside an event response function?
Chirry
  • 640
  • 6
  • 12
0
votes
1 answer

emberjs: how to trigger a custom event in a View

I would like to turn a primitive event (a click) into a semantic event, like "deleteTodo" This is described here, but not how to implement :( I have the following code: App.TodoView = Em.View.extend({ click: function(e) { …
Jeanluca Scaljeri
  • 26,343
  • 56
  • 205
  • 333
0
votes
3 answers

Error While Attempting to Use Custom Events

I am trying to use the information from the Passing-Data-between-Windows-Forms white paper to write some custom events to pass information between forms. Unfortunately, I keep getting a NullReferenceException when I attempt to raise the event. …
Grasshopper
  • 4,717
  • 9
  • 36
  • 62
0
votes
1 answer

jQuery get param value of custom event

If I have got: blockRoutes = function (value) { $('body').trigger('cantLeaveRoute', { val: value }); return value; } Except in binding callback like: this.bind('cantLeaveRoute', function () { this.params['val'] === true ?…
makeitmorehuman
  • 11,287
  • 3
  • 52
  • 76
0
votes
2 answers

Allowing Users to Handle an event in place of a default event

I am building a custom control and what i would like to do is have an event lets call this event OnMenuShow. Now what i would like to be able to do is handle this event inside my control to show one menu but allow the user implementing my custom…
Risryn
  • 3
  • 1
  • 4
0
votes
3 answers

[Event(name=“”)]: How is it used and how do custom events work?

I have to work on a project someone else started, but can't contact him because he's out of the country at the moment. Anyway. There is a main mxml and a custom component called "admin". In admin he declared an event like this:
-1
votes
3 answers

onChange prop and custom Event dispatch in React

I'm testing new version of my library tagger where there is custom Event dispatch on input element: this._input.dispatchEvent(new Event('change', { bubbles: true })); The problem is that the onChange prop on that input is not triggered when the…
jcubic
  • 61,973
  • 54
  • 229
  • 402
-1
votes
1 answer

How to use jQuery event delegation here?

I load content into a div at some point dynamically, from my main page script: $(function() { $('#myDiv').load('layer2.html'); } Then, I want to receive custom events sent by layer2.html's corresponding script on the main page script. If I add…
Adrián
  • 45
  • 1
  • 3
  • 12
-1
votes
1 answer

How to bind multiple custom events in angularjs?

I need to bind custom events in angularjs(1.x) and I tried with the following code, HTML
-1
votes
1 answer

DOM CustomEvent listeners

I think this is best asked with code: var event = new CustomEvent("custom", {bubbles: true}); // Create Event // Create and attach element var element =…
-1
votes
1 answer

Third what is third parameter in bean.fire event?

I have recently started working with bean events. I have an issue understanding this line: bean.fire(this, 'turn', this); So what I know it says is: execute the bean event with the name 'turn' on the object that is 'this'. Now I am wondering: what…
-2
votes
1 answer

How to create a custom event in Windows OS?

How can I create a custom event in Windows OS? I must be able to create a custom event data containing various parameters. It might be either using command prompt or PowerShell.
1 2 3
16
17