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 23.0.2024.2.29
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2024 LEAD Technologies, Inc. All Rights Reserved.

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