API Reference
Class
Library
Represents metadata describing an external library or resource set.
Inheritance
- Object
- Library
Constructors
public Library() #Inherited Methods
Properties
public LibraryLinks Header { get; set; } #Resources that should be placed in the document head.
public LibraryLinks Body { get; set; } #Resources that should be placed inside the body.
public Boolean BlockDownload { get; set; } #Prevents this library from being refreshed from CDN when updating local files.
public Boolean InlineEmbeddedResourcesInOnlineMode { get; set; } #When true (default), embedded JS/CSS fallbacks are also inlined in Online mode. Set to false for CDN-first libraries where duplicating the embedded payload causes issues (e.g., Prism autoloader resolving wrong component paths).
public Boolean PreferExternalCdnLinks { get; set; } #When true, keeps external CDN links even when HfxMirror is enabled. Use this for libraries that require auxiliary assets (e.g., fonts) not mirrored yet.