![]() |
Backbone.js trigger Event is used to invoke or callback the function for the given event or a space-delimited list of events. The subsequent arguments will be passed along to the event callbacks in order to trigger it. Syntax: object.trigger(event, [*args]) Parameter Values:
Example: This example describes the trigger event in Backbone.js. HTML
Here, the _.extend() function is used to create a copy of all of the properties of the source objects over the destination object and return the destination object. Output: Example: This example describes the Backbone.js trigger Event using the <iframe> tag. HTML
Output: Reference: https://backbonejs.org/#Events-trigger |
Reffered: https://www.geeksforgeeks.org
JavaScript |
Type: | Geek |
Category: | Coding |
Sub Category: | Tutorial |
Uploaded by: | Admin |
Views: | 11 |