-
FEATURED COMPONENTS
First time here? Check out the FAQ!
Hi All,
I have an external javascript library that i need to use. The external javascript uses nested functions.
So, i need to create a variable and invoke it as follows
var sample = new Sample();
sample.f1();
sample.f2();
I will need to invoke these methods at different scenarios, when the page is loaded, when a button is clicked,etc.. I have to invoke these from Composer as i have to perform some operations on button click such as external validations. Is there a way i can create these Javascript objects(var) through the composers ? Also the sample object needs to be reused from one function to another as it contains other private variables that are used among these functions.
Any help will be greatly appreciated.
Thanks in advance.
Regards, Adarsh
Asked: 2013-08-21 14:32:53 +0800
Seen: 1 times
Last updated: Aug 21 '13
Facing issue in masking on phone [closed]
coerceFromString_ override no longer works from 6.5.1 [closed]
Execute Javascript on component visible
Is there a way to resolve view model properties as input to client side javascripts?
scrollbar listner for 2 grid [closed]
Theme javascript wpd file not found