0.0.24 • Published 7 years ago

aa-fileupload v0.0.24

Weekly downloads
-
License
MIT
Repository
-
Last release
7 years ago

Overview Aa-Fileupload

This library contains a fileupload control for TRIBE Angular 2+ application development.

Build

Run npm run build to build the project. The build artifacts will be stored in the dist/ directory.

Running unit tests

Run npm test to execute the unit tests via Karma.

Installation

aa-fileupload is available as an NPM package. To install aa-fileupload in your project directory run:

$ npm install aa-fileupload --save

After installtion you can import aa-fileupload in your angular 2+ project by adding the AaFileuploadModule to your Module declaration as followed:

import { AaFileuploadModule } from 'aa-fileupload';

@NgModule({
  imports: [
    AaFileuploadModule
  ],
})
export class Module { }

How to use the control

To use the this fileupload control in an angular 2+ project simply add a wizard component to the html template of your component, like this:

<oo-tribe-fileupload 
    chooseLabel="Upload new file..." 
    name="myfile[]" url="http://localhost:63135/api/values" 
    accept="image/*" 
    dragPanelWide="false" 
    styleClass="ui-fileupload" 
    maxFileSize="1000000"></oo-tribe-fileupload>

Parameter overview

Possible <oo-tribe-fileupload> parameters:

Parameter namePossible ValuesDefault Value
chooseLabelAny stringChoose
styleClassAny available css classes as stringui-fileupload
maxFileSizeFile size in Number-
acceptMime type-
urlfile POST location-
allowDragAndDropBooleanfalse
allowMultipleBooleanfalse

Please note, this library is still under active development!!!

TODO

  • SCSS Compilation
  • Rollup bundling
  • Verify Minify / Uglify
  • Install on Demo project
  • Bundle component SASS files
  • Test Integration
  • Progress Bar
  • Inline Feedback/ Messages
  • Build it locally through TeamCity
0.0.24

7 years ago

0.0.22

7 years ago

0.0.21

7 years ago

0.0.20

7 years ago

0.0.19

7 years ago

0.0.17

7 years ago

0.0.16

7 years ago

0.0.15

7 years ago

0.0.14

7 years ago

0.0.13

7 years ago

0.0.12

7 years ago

0.0.11

7 years ago

0.0.10

7 years ago

0.0.9

7 years ago

0.0.8

7 years ago

0.0.7

7 years ago

0.0.5

7 years ago

0.0.4

7 years ago

0.0.3

7 years ago

0.0.2

7 years ago

0.0.1

7 years ago