/nativescript-FilePicker

FilePicker dialog for nativescript

Primary LanguageTypeScriptMIT LicenseMIT

nativescript-FilePicker

FilePicker dialog for nativescript Demo ###Notes:

Just works with angular-native(nativescrpt-angular2).

Currently it's just for android(because of lines of java code I used in it).

##HOW TO USE

It's not a plugin yet and you should read below line :).

1-copy https://github.com/kazemihabib/nativescript-FilePicker/tree/master/app/fonts to your app folder.

2-add this line to your app.css https://github.com/kazemihabib/nativescript-FilePicker/blob/master/app/app.css#L15 .

3-add

  https://github.com/kazemihabib/nativescript-FilePicker/blob/master/app/app.module.ts#L7

  https://github.com/kazemihabib/nativescript-FilePicker/blob/master/app/app.module.ts#L20
  
  https://github.com/kazemihabib/nativescript-FilePicker/blob/master/app/app.module.ts#L25
  
  to your app.module.ts

4-import

  https://github.com/kazemihabib/nativescript-FilePicker/blob/master/app/app.component.ts#L6

  https://github.com/kazemihabib/nativescript-FilePicker/blob/master/app/app.component.ts#L7
  
  https://github.com/kazemihabib/nativescript-FilePicker/blob/master/app/app.component.ts#L8
  
  https://github.com/kazemihabib/nativescript-FilePicker/blob/master/app/app.component.ts#L19
  
  to your app.component.ts

5-add

  https://github.com/kazemihabib/nativescript-FilePicker/blob/master/app/app.component.html#L2

  to the app.component.html

6-copy

 /app/dialogs/ to your app folder

###License MIT