/ui/locations/entries/ping
The ping module exports an entry method to test the ping utility.
Methods
(inner) ping(entry) → {HTMLElement}
The ping method creates a text field and initiates the ping utility with the entry object as params.
The ping callback method will update a textarea input with the response.
The ping will be cancelled by setting the callback to false.
Parameters:
Name | Type | Description |
---|---|---|
entry | infoj-entry | type:ping entry. |
Returns:
The entry node containing a textarea input.
- Type:
- HTMLElement