Skip to content
This repository has been archived by the owner on Oct 23, 2021. It is now read-only.

sp webpart base.webpartcontext.widthcachekey

John Nguyen edited this page Apr 22, 2021 · 2 revisions

Home > @microsoft/sp-webpart-base > WebPartContext > widthCacheKey

WebPartContext.widthCacheKey property

This functions returns a key generated by web parts display mode, layout index, and section factor. It will return undefined if sectionFactor or display mode is undefined, else return the cache key.

Signature:

get widthCacheKey(): string | undefined;
Clone this wiki locally