public events(): any
Events hash or a method returning the events hash that maps events/selectors to methods on your View.
For assigning events as object hash, do it like this: this.events = { "event:selector": callback, ... };
That works only if you set it in the constructor or the initialize method.
Returns
any
public events(): any
Events hash or a method returning the events hash that maps events/selectors to methods on your View.
For assigning events as object hash, do it like this: this.events = { "event:selector": callback, ... };
That works only if you set it in the constructor or the initialize method.
Returns
any
public events(): any
Events hash or a method returning the events hash that maps events/selectors to methods on your View.
For assigning events as object hash, do it like this: this.events = { "event:selector": callback, ... };
That works only if you set it in the constructor or the initialize method.
Returns
any
public events(): any
Events hash or a method returning the events hash that maps events/selectors to methods on your View.
For assigning events as object hash, do it like this: this.events = { "event:selector": callback, ... };
That works only if you set it in the constructor or the initialize method.
Returns
any
public setElement(element: HTMLElement, delegate?: boolean): View
Parameters
-
element: HTMLElement
-
delegate?: boolean optional
Returns
View
public setElement(element: JQuery, delegate?: boolean): View
Parameters
-
-
delegate?: boolean optional
Returns
View
public setElement(element: any): View
Parameters
Returns
View
public setElement(element: HTMLElement, delegate?: boolean): View
Parameters
-
element: HTMLElement
-
delegate?: boolean optional
Returns
View
public setElement(element: JQuery, delegate?: boolean): View
Parameters
-
-
delegate?: boolean optional
Returns
View
public setElement(element: any): View
Parameters
Returns
View
public setElement(element: HTMLElement, delegate?: boolean): View
Parameters
-
element: HTMLElement
-
delegate?: boolean optional
Returns
View
public setElement(element: JQuery, delegate?: boolean): View
Parameters
-
-
delegate?: boolean optional
Returns
View
public setElement(element: any): View
Parameters
Returns
View
public setElement(element: HTMLElement, delegate?: boolean): View
Parameters
-
element: HTMLElement
-
delegate?: boolean optional
Returns
View
public setElement(element: JQuery, delegate?: boolean): View
Parameters
-
-
delegate?: boolean optional
Returns
View
public setElement(element: any): View
Parameters
Returns
View