WTUI Docs

WTUI  1.0.0

WTUI Docs > WTUI > WTUI.Panel
Search:
 
Filters

Class WTUI.Panel

A holder for other components

Tag

<wtui:panel/>

The tag for WTUI.Panel

Example:

<wtui:panel id="examplepanel" style="padding: 4px">
  <wtui:paragraph>A paragraph inside a panel</wt:paragraph>
</wtui:panel>
Parameters:
id <String> (optional) The id of the panel
class <String> (optional) The css class to give the panel
style <String> (optional) The style to give the panel

Methods

add

void add ( component )
Add a component to the panel
Parameters:
component <Object> The component to add to the panel
Returns: void

WTUI