Esempio n. 1
0
 public void SetReaderMode()
 {
     if (HasRelatedContentPanel)
     {
         if (RelatedContentController != null)
         {
             RelatedContentController.Invoke("setReaderMode");
         }
     }
 }
Esempio n. 2
0
 public void LoadRelatedNodeHtmlContent(string content, int width = 0, int height = 0)
 {
     if (HasRelatedContentPanel)
     {
         if (RelatedContentController != null)
         {
             RelatedContentController.Invoke("loadRelatedContent", "nodeHtml", content, width, height);
         }
     }
 }
Esempio n. 3
0
 public void ResetAndHidePanels()
 {
     if (HasRelatedContentPanel)
     {
         if (RelatedContentController != null)
         {
             RelatedContentController.Invoke("resetAndHidePanels");
         }
     }
 }
Esempio n. 4
0
 public void LoadRelatedVideoContent(string videoSourceUrl, VideoSize videoSize)
 {
     if (HasRelatedContentPanel)
     {
         if (RelatedContentController != null)
         {
             string sizeValue = videoSize.ToString().ToLower();
             RelatedContentController.Invoke("loadRelatedContent", "video", HttpUtility.UrlEncode(videoSourceUrl), sizeValue);
         }
     }
 }
Esempio n. 5
0
 public void MapLoadedCallback(bool rootMapLoaded)
 {
     if (!this.IsDomainAndMapSelectionDialogShown)
     {
         if (HasRelatedContentPanel)
         {
             if (RelatedContentController != null)
             {
                 RelatedContentController.Invoke("mapLoadCompleted", rootMapLoaded);
             }
         }
     }
 }