Functions§
- current_
user_ id - Returns the user ID of the currently logged-in user, if any.
- debounce_
broadcast - ends_
with_ href - Returns true if the given
textstring ends with a valid href attribute opener. - get_
or_ fetch_ event_ sender - Returns the sender’s display name if available.
- linkify
- Looks for bare links in the given
textand converts them into proper HTML links. - room_
name_ or_ id - Returns a string representation of the room name or ID.
- trim_
start_ html_ whitespace - Removes leading whitespace and HTML whitespace tags (
<p>and<br>) from the giventext.