About this sample
This sample demonstrates how to display a file preview from a document library or Site Pages inside a callout using the embed action. This allows users to view file contents without leaving the current page.
Products & metadata
SharePointMicrosoft ListsColumnSharePoint OnlineIcons, Hover CardsGeneral@currentWeb, @window.innerHeight, @window.innerWidthembedcustomCardProps, beakStyle, directionalHintms-bgColor-themeLighter, ms-bgColor-themePrimary--hover, ms-fontColor-neutralPrimary, ms-fontColor-white--hover, ms-fontSize-s, ms-fontSize-mColumn Formatting