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

Add onAdd callback to FileUpload #3775

Closed
mertsincan opened this issue Jun 12, 2018 · 0 comments
Closed

Add onAdd callback to FileUpload #3775

mertsincan opened this issue Jun 12, 2018 · 0 comments
Assignees
Labels
6.2.6 documentation Documentation needs updating new feature
Milestone

Comments

@mertsincan
Copy link
Member

mertsincan commented Jun 12, 2018

Callback to execute before adding a file.

Exp;

function resizeFile(file, callback) {
    var $this = this;
    
   //your code
}

<p:fileUpload onAdd="resizeFile" .../>
@mertsincan mertsincan added this to the 6.3 milestone Jun 12, 2018
@mertsincan mertsincan self-assigned this Jun 12, 2018
@mertsincan mertsincan changed the title Added onAdd callback to FileUpload Add onAdd callback to FileUpload Jun 25, 2018
@mertsincan mertsincan added the documentation Documentation needs updating label Mar 14, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
6.2.6 documentation Documentation needs updating new feature
Projects
None yet
Development

No branches or pull requests

1 participant