From 49ca2b27c71ddaedd2a02ce673028835c09e7784 Mon Sep 17 00:00:00 2001 From: Age Bosma Date: Tue, 15 Feb 2022 09:51:38 +0100 Subject: [PATCH] Add bind callback function --- index.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/index.html b/index.html index 928a04b5..b356b8f7 100644 --- a/index.html +++ b/index.html @@ -175,8 +175,8 @@

Methods

Get the crop points, and the zoom of the image.

  • - bind({ url, points, orientation, zoom })Promise -

    Bind an image to the croppie. Returns a promise to be resolved when the image has been loaded and the croppie has been initialized.

    + bind({ url, points, orientation, zoom }, callback)Promise +

    Bind an image to the croppie, with an optional callback function. Returns a promise to be resolved when the image has been loaded and the croppie has been initialized.

    Parameters