Croppie: get max/min zoom

Created on 24 Jan 2018  路  2Comments  路  Source: Foliotek/Croppie

Expected Behavior

To implement an own range-input or +/- buttons for zooming, I need to know croppies min/max-zoom-values for a given image/viewport.

Actual Behavior

No property that returns this

Most helpful comment

I also need this.

All 2 comments

I also need this.

This worked for me:

  .cr-slider {
    display: none;
  }

<vue-croppie
@update="update"
/>

import $ from 'jquery'
      update(val) {
        const $slider = $( '.cr-slider' )
        const min = $slider.attr( "min" )
        const max = $slider.attr( "max" )
        const now = $slider.attr( "aria-valuenow" )
  }
Was this page helpful?
0 / 5 - 0 ratings

Related issues

VADS picture VADS  路  5Comments

bmalets picture bmalets  路  6Comments

tpilitis picture tpilitis  路  5Comments

Terumi picture Terumi  路  3Comments

iKonrad picture iKonrad  路  8Comments