new Assessor()
Methods
(static) self.close()
Close the informational panel
(static) self.externalLink(url)
Trust a URL
Parameters:
Name | Type | Description |
---|---|---|
url |
string | The external URL |
Returns:
The trusted URL
(static) self.externalLink(url)
Trust a URL
Parameters:
Name | Type | Description |
---|---|---|
url |
string | The external URL |
Returns:
The trusted URL
(static) self.hasContactInformation()
Determine if there is contact information present
Returns:
A value indicating if there is contact information to display
(static) self.linkify(modelType, name)
Build a link from the given item
Parameters:
Name | Type | Description |
---|---|---|
modelType |
string | The item model type |
name |
string | The item name to be slugified |
Returns:
The pach for a hyperlink
(static) self.markdown(text)
Parses possible markdown, or other encoded text, as HTML
Parameters:
Name | Type | Description |
---|---|---|
text |
string | The text to parse |
Returns:
The text in HTML format