Constructor
new ReminderPresenter(root, appInputSelector, substanceInputSelector, baseTabSelector, tabs)
Creates a new ReminderPresenter.
Parameters:
| Name | Type | Description |
|---|---|---|
root |
HTMLElement | Root DOM element for the reminder UI. |
appInputSelector |
string | CSS selector for application input element. |
substanceInputSelector |
string | CSS selector for substance input element. |
baseTabSelector |
string | CSS selector for base tab element. |
tabs |
Object | Tabby tabs instance. |
- Source:
Methods
update()
Update the reminder UI elements with the current application and substance values.
This function updates the innerHTML of reminder elements to display
the current values for application and substance. It ensures that changes
in the inputs are reflected in the corresponding reminder display fields.
- Source: