filepond-plugin-get-file

WebJar for filepond-plugin-get-file

Лицензия

Лицензия

MIT
Категории

Категории

Github Инструменты разработки Контроль версий
Группа

Группа

org.webjars.npm
Идентификатор

Идентификатор

github-com-nielsboogaard-filepond-plugin-get-file
Последняя версия

Последняя версия

1.0.2
Дата

Дата

Тип

Тип

jar
Описание

Описание

filepond-plugin-get-file
WebJar for filepond-plugin-get-file
Ссылка на сайт

Ссылка на сайт

https://www.webjars.org
Система контроля версий

Система контроля версий

https://github.com/nielsboogaard/filepond-plugin-get-file

Скачать github-com-nielsboogaard-filepond-plugin-get-file

Как подключить последнюю версию

<!-- https://jarcasting.com/artifacts/org.webjars.npm/github-com-nielsboogaard-filepond-plugin-get-file/ -->
<dependency>
    <groupId>org.webjars.npm</groupId>
    <artifactId>github-com-nielsboogaard-filepond-plugin-get-file</artifactId>
    <version>1.0.2</version>
</dependency>
// https://jarcasting.com/artifacts/org.webjars.npm/github-com-nielsboogaard-filepond-plugin-get-file/
implementation 'org.webjars.npm:github-com-nielsboogaard-filepond-plugin-get-file:1.0.2'
// https://jarcasting.com/artifacts/org.webjars.npm/github-com-nielsboogaard-filepond-plugin-get-file/
implementation ("org.webjars.npm:github-com-nielsboogaard-filepond-plugin-get-file:1.0.2")
'org.webjars.npm:github-com-nielsboogaard-filepond-plugin-get-file:jar:1.0.2'
<dependency org="org.webjars.npm" name="github-com-nielsboogaard-filepond-plugin-get-file" rev="1.0.2">
  <artifact name="github-com-nielsboogaard-filepond-plugin-get-file" type="jar" />
</dependency>
@Grapes(
@Grab(group='org.webjars.npm', module='github-com-nielsboogaard-filepond-plugin-get-file', version='1.0.2')
)
libraryDependencies += "org.webjars.npm" % "github-com-nielsboogaard-filepond-plugin-get-file" % "1.0.2"
[org.webjars.npm/github-com-nielsboogaard-filepond-plugin-get-file "1.0.2"]

Зависимости

Библиотека не имеет зависимостей. Это самодостаточное приложение, которое не зависит ни от каких других библиотек.

Модули Проекта

Данный проект не имеет модулей.

Get File plugin for FilePond

License: MIT npm version

The Get File plugin will add a tiny 'download' icon in front of the filename to allow downloading the uploaded file.

Quick Start

Install using npm:

npm install filepond-plugin-get-file

Then import in your project:

import * as FilePond from 'filepond';
import FilePondPluginGetFile from 'filepond-plugin-get-file';

Also, don't forget to import the belonging styles:

@import '~filepond-plugin-get-file/dist/filepond-plugin-get-file.min.css';

Register the plugin:

FilePond.registerPlugin(FilePondPluginGetFile);

Create a new FilePond instance as normal.

const pond = FilePond.create({
    name: 'filepond'
});

// Add it to the DOM
document.body.appendChild(pond.element);

The functionality will become active after uploading a file.

Configuration

The label of the download icon can be adjusted as follows:

const pond = FilePond.create({
    name: 'filepond',
    labelButtonDownloadItem: 'custom label', // by default 'Download file'
    allowDownloadByUrl: false, // by default downloading by URL disabled
});

Demo

View the demo

Версии библиотеки

Версия
1.0.2