Class: HTMLCategory

HTMLCategory


new HTMLCategory(name, selected)

Object to handle the creation of operation categories.

Parameters:
Name Type Description
name string

The name of the category.

selected boolean

Whether this category is pre-selected or not.

Author:
  • <p>n1474335 [n1474335@gmail.com]</p>
License:
  • Apache-2.0
Source:

Methods


add_operation(operation)

Adds an operation to this category.

Parameters:
Name Type Description
operation HTMLOperation

The operation to add.

Source:

to_html()

Renders the category and all operations within it in HTML.

Source:
Returns:
Type
string