Jrapid-tags.js

From JRapid

Jump to: navigation, search

Contents

Introduction

This library contains code used by JRapid for window management. It includes functions useful for cross browser DOM traversing, manipulation and event management.

Application Class

The Application class is the root class for all classes in the jrapid-tags library. For every browser window displaying a JRapid web app there is only one Application object instantiated and accessible through the global variable application. It provides support for opening windows, wrapping DOM elements and selecting them by id.

application.wrapNode(element)
Returns a wrapped DOM element.

Container Class

container.getElementById(id)
Finds an element in the container by its id. Return a JRapid wrapped element.

NodeWrapper Class

element.getContainer()
Returns a reference to the container of the element on which it is called. The element must be a JRapid wrapped element.

See also

Personal tools