bs4/Helpers.cs
/// <summary>
/// Generate bootstrap4 css class names for the overlay div, based on the settings of the slide
/// </summary>
Generate bootstrap4 css class names for the overlay div, based on the settings of the slide
Generate bootstrap4 css class names for the overlay div based on the settings of the slide
public dynamic OverlayTextAlignClasses(dynamic settingsStack) {
    var pageCss = GetService<Connect.Koi.ICss>();         
    var pos = settingsStack.TextPosition ?? "";
    return (pos.EndsWith("c") ? "text-center" : "")    
      + " " + (pos.EndsWith("r") && pageCss.Is("bs4") ? "text-right" : pos.EndsWith("r") && pageCss.Is("bs5") ? "text-end" : ""); 
  }
public dynamic OverlayTextAlignClasses ( dynamic settingsStack ) { var pageCss = GetService < Connect . Koi . ICss > ( ) ; var pos = settingsStack . TextPosition ?? " " ; return ( pos . EndsWith ( " " ) ? " " : " " ) + " " + ( pos . EndsWith ( " " ) && pageCss . Is ( " " ) ? " " : pos . EndsWith ( " " ) && pageCss . Is ( " " ) ? " " : " " ) ; }
Generate bootstrap4 css class names for the overlay div, based on the settings of the slide
Generate bootstrap4 css class names for the overlay div based on the settings of the slide
// Service to get CSS information about the current Theme // center: tc, cc, bc // right:  tr, cr, br
settingsStack
dynamic