w2layout.el

Returns DOM element where content of the panel is rendered.
el(type)
type string, name of the panel

Description

The first and only argument type is the name of the panel. It can be one of the following:
  • top
  • left
  • main
  • right
  • preview
  • bottom
Each panel in the layout has multiple elements, such as, toolbar, tabs, resizer and content. Calling el allows you to find DOM Element where content of the panel is rendered. It can be used in jQuery to find some specific elements in this panel only:

User Comments

comments powered by Disqus