Embed
Embed data object that holds embedOptions and resulting data.
Constructor Summary
Public Constructor | ||
public |
constructor(embedURL: String, embedOptions: Object) |
Member Summary
Public Members | ||
public |
Data object for the resolved embed |
|
public |
Milliseconds elapsed during resolving embed |
|
public |
The URL to be embedded |
|
public |
Will be populated with an Error object if an error occurs while processing this embed |
|
public |
Time the embed finished resolving |
|
public |
The provider API URL that was used to resolve the embed |
|
public |
Options for this Embed |
|
public |
Time the embed began resolving |
|
public |
Default markup for unprocessed embed.data.html |
Method Summary
Public Methods | ||
public |
Timestamps the end of the embed resolve process and calculates elapsedMs |
|
public |
Timestamps the beginning of the embed resolve process. |
Public Constructors
Public Members
public data: {html: String} source
Data object for the resolved embed
Note: there should always be a populated data.html property, even if the embed encounters an error while resolving.