The Wayback Machine - https://web.archive.org/web/20200615135208/https://github.com/topics/nativescript-plugin
Skip to content
#

nativescript-plugin

Here are 152 public repositories matching this topic...

nativescript-vue
Lester-Lynch
Lester-Lynch commented Jan 21, 2020

In README.md under Usage, function scan (single mode) I'd recommend either wrapping the alert function in a setTimeout as you did in the demo or removing the alert and using console.log. Currently, the alert will not be displayed. This caused me some head thumping until stepped thru a debug and then remembered the demo used the setTimeout.

methompson
methompson commented Apr 11, 2020

I've been using the beta version of this plugin for a bit and I'm noticing a fair amount of divergence between the Readme in the readme-2x branch and the way the plugin actually works.

Is there a more up-to-date document? If not, @EddyVerbruggen do you have a problem with a PR with some updated the documentation based upon some of the things I've noticed?

Here are a few points I've noticed:

nabilcreates
nabilcreates commented Nov 6, 2018

In my experience, i think this docs is more usefull, this is because

  • not everyone would use their parent view as PullToRefresh
  • I encountered errors while trying to use it

I found the solution and maybe you can test (and obviously update the docs 💯 )

Basically main idea is to wrap PullToRefresh with StackLayout

<template>
    <Page>
        <ActionBar title="App's Acti
cerealexx
cerealexx commented Oct 29, 2018

The documentation says you can pass null or an empty string to the shadow directive to remove the shadow. I'm dynamically passing a number value or null depending on the platform with this method:

public iosShadow(level: string): number {
    if (this.platform === 'ios') {
        return Number(level);
     }
    return null;
}

And view:

<StackLayout [shadow]="iosShadow(2)

Improve this page

Add a description, image, and links to the nativescript-plugin topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the nativescript-plugin topic, visit your repo's landing page and select "manage topics."

Learn more

You can’t perform that action at this time.