Jam.py documentation

init_tabs

init_tabs(container, tabs_position)

domain: client

language: javascript

class Task

Description

The init_tabs method initializes tabs for a container.

The container is JQuery object for a container element.

The tabs_position parameter specifies where tabs, created by the add_tab method will be positioned. It is string that can be one of the following values:

  • tabs-below

  • tabs-left

  • tabs-right

If this parameter is omitted tabs will be positioned at the top of the container.

After this method is called you can use the add_tab method to create tabs.

See also

add_tab

close_tab