Click or drag to resize

ClientAssets Class

Central, ordered registry of the Bootstrap 5 client stack. Load order is significant: jQuery (currently bundled in datatables) then Bootstrap. bootstrap.bundle.min.js already includes Popper, so Popper is not loaded separately for the core.
Inheritance Hierarchy
SystemObject
  Seal.ModelClientAssets

Namespace: Seal.Model
Assembly: SealLibrary (in SealLibrary.dll) Version: 10.0.0.0+c1250b26c169a4ba4d702dc7579506e87ba2cd3a
Syntax
C#
public static class ClientAssets

The ClientAssets type exposes the following members.

Fields
 NameDescription
Public fieldStatic memberBootstrapCssBootstrap 5 core style sheet, loaded by every page.
Public fieldStatic memberBootstrapJs Bootstrap 5 core JavaScript: the bundle (includes Popper) followed by the bootstrap-select Bootstrap 5 integration (configures the selectpicker dependency and patches two BS5-specific bootstrap-select bugs). The application code calls the native bootstrap.* API directly, so no jQuery-plugin compatibility bridge is loaded. The integration must load right after the bundle and before the application scripts.
Public fieldStatic memberFlatpickrCssFlatpickr style sheet (lightweight Bootstrap-5-compatible date/time picker, replaces bootstrap-datetimepicker).
Public fieldStatic memberFlatpickrJs Flatpickr JavaScript (date/time picker). Dependency-free (no jQuery/moment), exposes the global "flatpickr". Localization comes from per-language l10n files loaded on demand by the views.
Public fieldStatic memberFontAwesomeCss Font Awesome 6 (Free) style sheets. all.min.css provides the icons.
Top
See Also