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.

Requirements

Target Platforms

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

Leadtools Assembly

Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.