theme
- Set or get the theme.
// get
$(":file").jfilestyle('theme');
// set
$(":file").jfilestyle('theme', 'blue');
dragdrop
- Set or get the dragdrop selected files.
When enabling the drag and drop event multiple file selection is enabled. That is, you can not limit the amount of uploaded files in your upload using drag and drop.
// get
$(":file").jfilestyle('dragdrop');
// set
$(":file").jfilestyle('dragdrop', false);
clear
- Clear selected files.
$(":file").jfilestyle('clear');
destroy
- Destroy a filestyle completely.
$(":file").jfilestyle('destroy');
input
- Set or get the value of the input option.
// get
$(":file").jfilestyle('input');
// set
$(":file").jfilestyle('input', false);
text
- Set or get the text of the button.
// get
$(":file").jfilestyle('text');
// set
$(":file").jfilestyle('text', 'My text');
disabled
- Set or get the disabled button.
// get
$(":file").jfilestyle('disabled');
// set
$(":file").jfilestyle('disabled', true);
buttonBefore
- Set or get the buttonBefore.
// get
$(":file").jfilestyle('buttonBefore');
// set
$(":file").jfilestyle('buttonBefore', true);
inputSize
- Set or get the inputSize.
// get
$(":file").jfilestyle('inputSize');
// set
$(":file").jfilestyle('inputSize', '400px');
placeholder
- Set or get the placeholder.
// get
$(":file").jfilestyle('placeholder');
// set
$(":file").jfilestyle('placeholder', 'My text placeholder');