new Product()
Members
(static) self.additionalProducts
Filter any additional products from the same provider
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.isCompliant()
Is the products status considered 'Compliant'
Returns:
A value indicating if the product is compliant
(static) self.isProcessing()
Is the products status considered 'In Process'
Returns:
A value indicating if the product is in processing
(static) self.isReady()
Is the products status considered 'Ready'
Returns:
A value indicating if the product ready
(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
(static) self.percentComplete()
The percent complete for the product status
Returns:
A percentage as an integer
(static) self.statusMessage()
The status message providing information concerning the
estimated or final compliancy date.
Returns:
Status message