new HTMLIngredient(config, app, manager)
Object to handle the creation of operation ingredients.
Parameters:
Name | Type | Description |
---|---|---|
config |
Object | The configuration object for this ingredient. |
app |
HTMLApp | The main view object for CyberChef. |
manager |
Manager | The CyberChef event manager. |
- Copyright:
-
- Crown Copyright 2016
- License:
-
- Apache-2.0
- Source:
Methods
-
to_html()
-
Renders the ingredient in HTML.
- Source:
Returns:
- Type
- string
-
toggle_disable_args(e)
-
Handler for argument disable toggle.
Toggles disabled state for all arguments in the disable_args list for this ingredient.Parameters:
Name Type Description e
event - Source:
-
populate_option_change(e)
-
Handler for populate option changes.
Populates the relevant argument with the specified value.Parameters:
Name Type Description e
event - Source:
-
editable_option_change(e)
-
Handler for editable option changes.
Populates the input box with the selected value.Parameters:
Name Type Description e
event - Source: