Inline vs dialog
inline(default): the widget renders in the page flow where you mount it.dialog: the widget opens behind a trigger button. Callintake.focus()to open it programmatically.
Filecheck.mount (zero-JS integration)
For plugins where all configuration is known server-side,Filecheck.mount handles mounting, cart-button gating, the proof gallery, and optional CSS/JS injection in a single call. It returns the intake element so you can attach listeners.
What Filecheck.mount handles for you
- Resolves the mount target (
#fc-inline→mountSelector→ next to the cart button). - Creates and positions the dialog trigger button when
presentation: 'dialog'. - Gates all cart buttons matching the built-in selectors plus
cartButtonSelectoroncanProceed. - Wires the built-in proof gallery (no host code required).
- Injects optional
customCss/customJs.
jobId into a hidden field for server-side verification.