@dusrel/image API
    Preparing search index...

    Variable DusrelCropConst

    DusrelCrop: DefineComponent<
        ExtractPropTypes<
            {
                aspect: { default: undefined; type: StringConstructor };
                modelValue: { default: undefined; type: PropType<CropRect | undefined> };
                shape: { default: undefined; type: PropType<"rect" | "circle"> };
                src: { required: true; type: StringConstructor };
            },
        >,
        () => VNode<RendererNode, RendererElement, { [key: string]: any }>,
        {},
        {},
        {},
        ComponentOptionsMixin,
        ComponentOptionsMixin,
        {
            "crop-change": (_crop: CropRect) => true;
            "update:modelValue": (_crop: CropRect) => true;
        },
        string,
        PublicProps,
        ToResolvedProps<
            ExtractPropTypes<
                {
                    aspect: { default: undefined; type: StringConstructor };
                    modelValue: { default: undefined; type: PropType<CropRect | undefined> };
                    shape: { default: undefined; type: PropType<"rect" | "circle"> };
                    src: { required: true; type: StringConstructor };
                },
            >,
            {
                "crop-change": (_crop: CropRect) => true;
                "update:modelValue": (_crop: CropRect) => true;
            },
        >,
        {
            aspect: string;
            modelValue: CropRect
            | undefined;
            shape: "rect" | "circle";
        },
        {},
        {},
        {},
        string,
        ComponentProvideOptions,
        true,
        {},
        any,
    > = ...

    Vue wrapper for the Web Component from @dusrel/image-crop. Supports v-model with the crop rect (natural pixels): setting it calls the element's setCrop(), and every crop-change emits update:modelValue + crop-change. The element module is imported lazily on mount, so importing this component during SSR is safe. The element itself is reachable via a template ref's element() method.