create Method

Summary

Creates a new LeadEvent object.

Syntax
TypeScript
JavaScript
create = function( 
   target, 
   eventName 
) 
static create( 
   target: any, 
   eventName: string 
): LeadEvent; 

Parameters

target

The target class. Must not be null.

eventName

The event name. Must not be null or empty.

Return Value

The event object.

Remarks

eventName can be anything. The framework will use this to add custom properties to target.

Example

For an example, refer to LeadEvent.

Requirements

Target Platforms

Help Version 20.0.2020.3.31
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2020 LEAD Technologies, Inc. All Rights Reserved.

Leadtools Assembly