Menu
Content Services

News Article Widget

Display news articles from DTN's news room and other sources.

Installation

script

Example

                              window.dtn.news.createNewsArticleWidget({
 


                                
});
                              
                            

Configuration

apiKey

apiKey: string;

The widget access api key associated with your DTN account.

container

container: HTMLElement | string;

The container to mount the widget on. This can be a reference to an HTML element, or a valid selector string. If a string is encountered, document.querySelector will be used to search document for the container.

articleId

articleId: string;

The ID of the article to display.