Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

how get upload progress value in djsConfig #213

Open
behnam-maqsudi opened this issue May 17, 2020 · 0 comments
Open

how get upload progress value in djsConfig #213

behnam-maqsudi opened this issue May 17, 2020 · 0 comments

Comments

@behnam-maqsudi
Copy link

behnam-maqsudi commented May 17, 2020

how log data-dz-uploadprogress value


  {console.log(data-dz-uploadprogress)}

 previewTemplate: ReactDOMServer.renderToStaticMarkup(
    <div className="dz-preview dz-file-preview">
      <div className="dz-details">
        <img data-dz-thumbnail="true" />
        <div className="item-detail">
          <div className="dz-filename">
            <span data-dz-name="true"></span>
          </div>
          <div className="dz-progress">
            <span className="dz-upload" data-dz-uploadprogress="true"></span>
            <div className="dz-error-mark">{/* <span>✘</span> */}</div>
          </div>
          <div className="dz-success-mark">
            <img src={success} />
          </div>
          <a class="dz-remove" data-dz-remove="true">
            <img src={error} />
          </a>
        </div>
      </div>
      <div className="dz-error-message">
        <span data-dz-errormessage="true"></span>
      </div>
    </div>
  )

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant