0.1.94 - Web
May 19th, 2024
Features
- Added a new property
thumbnailBorderColorto the widgetLayout interface; it will allow you to modify the border color of the thumbnail. - Modified three functions in the IWidgetView interface by adding a new parameter called options. The options' parameter is an
ISetWidgetOptionsinterface that has a property namedshouldReloadData; This flag will prevent the SDK from loading new data from the server. To load new data, you can use thereloadfunction.
setLabels: (labels: string | string[] | BlazeWidgetLabel, options?: ISetWidgetOptions) =>void; setLabelsPriority: (labelsPriority: string, options?: ISetWidgetOptions) => void; setContentIds: (storyIds: string[], options?: ISetWidgetOptions) => void;
interface ISetWidgetOptions { shouldReloadData?: boolean } - Added a new property to IBlazeSDKOptions called
shouldModifyUrlWithStoryId. If set to false, it will not update the URL with the story ID but will still retain the share functionality.
Bug Fixes
- Fixed the container height calculation for the widget layout.
- Adjusted the position of the story title, which was incorrect after changing the container height.
- Corrected the height size of the label by converting rem and em values to specific numeric values.
