nativescript-onboarding icon indicating copy to clipboard operation
nativescript-onboarding copied to clipboard

[Requests] Can you provide this as `npm` package?

Open biniama opened this issue 7 years ago • 4 comments

Dear Sean,

Thanks for the wonderful on-boarding project.

I had to create a new project and move files around which created conflict. Then, I cloned your project as my new project and edited it to fit my need.

For others who want to use your project, can you provide the on-boarding, fonts and others as an NPM module so it is easier and also provide example of using the npm module with the +home component.

Another request: (I don't want to create multiple issues) I want to slide the pages using slide bar not using continue button. Is that possible to do?

biniama avatar Nov 27 '17 07:11 biniama

Making this into an npm package is possible, basically I would need to exclude out the OnboardingModule, but things like fonts, etc. would have to be manually copied in via a post install script or something similar.

Can you elaborate on the "slide bar"? Is that a native control or the swipe gesture on the screen?

sean-perkins avatar Nov 30 '17 01:11 sean-perkins

Thanks Sean for the kind answer.

By slide bar, I meant the slide gesture like it is found in most apps with the possibility to go to the previous slide as well.

Regards

On Nov 30, 2017 02:24, "Sean Perkins" [email protected] wrote:

Making this into an npm package is possible, basically I would need to exclude out the OnboardingModule, but things like fonts, etc. would have to be manually copied in via a post install script or something similar.

Can you elaborate on the "slide bar"? Is that a native control or the swipe gesture on the screen?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/sean-perkins/nativescript-onboarding/issues/1#issuecomment-348052597, or mute the thread https://github.com/notifications/unsubscribe-auth/AFizr4CVYxPMPROMEf2SusXyemnWCFK1ks5s7gOzgaJpZM4QrPDm .

biniama avatar Nov 30 '17 08:11 biniama

Yes, that should be possible. Although may require some fiddling. Ideally you could listen for those pan gestures on the slide element and then re-use the "next" and "previous" function hooks to control the changes.

If I get some availability this weekend, I'll dig into that and apply additional options for it.

sean-perkins avatar Nov 30 '17 16:11 sean-perkins

Dear Sean,

Any update?

On Nov 30, 2017 5:59 PM, "Sean Perkins" [email protected] wrote:

Yes, that should be possible. Although may require some fiddling. Ideally you could listen for those pan gestures on the slide element and then re-use the "next" and "previous" function hooks to control the changes.

If I get some availability this weekend, I'll dig into that and apply additional options for it.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/sean-perkins/nativescript-onboarding/issues/1#issuecomment-348252043, or mute the thread https://github.com/notifications/unsubscribe-auth/AFizr3bJc7Yo8Fx2Id-w16hDJsOeud5Nks5s7t7VgaJpZM4QrPDm .

biniama avatar Dec 12 '17 09:12 biniama