Jam.py documentation

set_forms_container

set_forms_container(container, options)

domain: client

language: javascript

class Task

Description

The set_forms_container can be used to initialize the forms_container attribute that will contain forms of the application.

If the forms_in_tabs attribute is set the applications also initializes the tabs that will be used to display forms.

The container is JQuery object that will be used as a container for the application forms.

The options parameter can have the following attribute:

  • splash_screen - an html that will be displayed in the forms_container when all tabs are closed

Example

task.set_forms_container($("#content"), {
    splash_screen: '<h1 class="text-center">Jam.py Demo Application</h1>'
});