Skip to content

Javascript Framework with AS3 components and is OOP orientated. DisplayObject, MovieClip etc. Works on All Browsers.

Notifications You must be signed in to change notification settings

fahimc/Toolkit-JS

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

toolkit js logo
##Welcome to the Toolkit-JS This is a cross browser JS OOP Architecture. This was based on AS3 and wezside toolkit.

Contain These Libraries:
Utensil

#Latest Version
toolkitMax

#About
With this toolkit you can build extendable objects which are fully inheritable.

The UIElement is the main object which is the minimal that you should extend because all the other classes extend it. The UIElement does all the cross browser code for each method it contains. It creates a DIV as its base which will be positioned absolute to allow you to move it via the x() and y() functions. The styles will be set by CSS with a classname that you provide in the className() method. The children that you add gets added to another DIV within the UIElement which is called the childContainer to allow you to set overflow hidden and hide the children. There are many other reasons for the childContainer.

Have a look at the different layout managers such as VerticalLayout or HorizontalLayout as these will automatically lay out the child for you. The good thing about layouts is that you can use multiple ones at the same time.

#Example of the UIElement

var View = function() {
}  
Class.extend(View, UIElement);      

var view = new View();
view.build();
view.setStyle();
document.body.appendChild(view.display);
view.arrange();

#Contents 0. Project Structure
1. Setting up the Main JS File
2. Resource Manager
3. UIElement
4. Creating And Extending a Class
5. Creating a Label
6. Creating a Button
7. Using Layouts
8. Styling UIElements
9. Using ScrollLayout
10. Applying A Grid Layout
11. Creating a MovieClip
12. Adding an Event Listener
13. Dispatching a Custom Event


#API's

DisplayObject
UIElement
Label
Button
Layout
Sprite
MovieClip
Event

About

Javascript Framework with AS3 components and is OOP orientated. DisplayObject, MovieClip etc. Works on All Browsers.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published