The Element

### Presentation &amp; Filecheck.mount

Choose inline or dialog presentation, or use Filecheck.mount for zero-JS plugin integration.

### Navigate to header: Inline vs dialog Inline vs dialog

inline (default): the widget renders in the page flow where you mount it.

dialog : the widget opens behind a trigger button. Call intake.focus() to open it programmatically.

const

intake

=

fc

.

elements

.

create

(

'intake'

, \{

workflowId:

'wf\_…'

,

presentation:

'dialog'

\});

intake

.

mount

(

'\#fc-slot'

);

### Navigate to header: Filecheck.mount (zero-JS integration) 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.

function

whenReady

(

cb

,

timeout

=

10000

) \{

const

start

=

Date

.

now

();

(

function

tick

() \{

if

(

window

.

Filecheck

&amp;&amp;

window

.

Filecheck

.

mount

)

return

cb

();

if

(

Date

.

now

()

-

start

&gt;

timeout

)

return

;

setTimeout

(

tick

,

50

);

\})();

\}

whenReady

(()

=&gt;

\{

const

el

=

window

.

Filecheck

.

mount

(\{

publishableKey:

'pk\_live\_…'

,

workflowId:

'wf\_…'

,

presentation:

'inline'

,

// or 'dialog'

mountSelector:

'\#fc-slot'

,

// fallback if \#fc-inline is absent

connectorId:

'cntr\_…'

,

// optional, fetched server-side

cartButtonSelector:

'.my-btn'

,

// optional extra cart selector

\});

if

(

el

) \{

el

.

on

(

'status'

, (

e

)

=&gt;

\{

document

.

getElementById

(

'fc\_job\_id'

).

value

=

e

.

jobId

\|\|

''

;

\});

\}

\});

### Navigate to header: What Filecheck.mount handles for you 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 cartButtonSelector on canProceed .

Wires the built-in proof gallery (no host code required).

Injects optional customCss / customJs .

Shows the 3D Proof in the product gallery when galleryProof is on.

The only thing left to you is platform-specific work, such as writing

jobId

into a hidden field for

server-side verification

.

### Navigate to header: Show the proof in the product gallery Show the proof in the product gallery

When the Workflow shows its proof on a

3D Scene

,

Filecheck.mount

can put that proof in place of the product’s photo gallery once every uploaded file has its proof. The photos come back if a file is removed or replaced. Approval stays in the proof popup.

window

.

Filecheck

.

mount

(\{

publishableKey:

'pk\_live\_…'

,

workflowId:

'wf\_…'

,

galleryProof:

true

,

// off by default

gallerySelector:

'.product-gallery'

,

// optional

\});

| Option | Type | Description |
| --- | --- | --- |
| galleryProof | boolean | Show the 3D Proof in the product gallery. Default false . The store plugins set it from Settings → Element → 3D Proof in Product Gallery . |
| gallerySelector | string | CSS selector of the gallery’s container. Only needed when the built-in selectors for Shopify, WooCommerce, PrestaShop, OpenCart and Magento themes miss your theme. |

If no gallery is found on the page, nothing changes: the proof is still in the popup.

Suggest edits

Raise issue

[server-side verification](https://filecheck.io/docs/server/verify-jobs)

[3D Scene](https://filecheck.io/docs/configuration/3d-scenes)

[Suggest edits](https://github.com/sterlyai/mintlify-docs/edit/main/element/presentation.mdx)

[Raise issue](https://github.com/sterlyai/mintlify-docs/issues/new?title=Issue%20on%20docs&body=Path:%20/element/presentation)

[Navigate to header: Inline vs dialog](https://filecheck.io/docs/element/presentation#inline-vs-dialog)

[Navigate to header: Filecheck.mount (zero-JS integration)](https://filecheck.io/docs/element/presentation#filecheck-mount-zero-js-integration)

[Navigate to header: What Filecheck.mount handles for you](https://filecheck.io/docs/element/presentation#what-filecheck-mount-handles-for-you)

[3D Proof](https://filecheck.io/docs/concepts/3d-proofs)

[Navigate to header: Show the proof in the product gallery](https://filecheck.io/docs/element/presentation#show-the-proof-in-the-product-gallery)