Nattily Primped Monster

    @nativescript-community/ui-blurview
    TypeScript icon, indicating that this package has built-in type declarations

    1.2.2 • Public • Published

    NativeScript Blurview widget

    npm downloads npm downloads npm

    A NativeScript BlurView widget.

    Installation

    Run the following command from the root of your project:

    tns plugin add @nativescript-community/ui-blurview

    This command automatically installs the necessary files, as well as stores @nativescript-community/ui-blurview as a dependency in your project's package.json file.

    Configuration

    There is no additional configuration needed!

    API

    Usage

    You need to add xmlns:gv="@nativescript-community/ui-blurview" to your page tag, and then simply use <gv:BlurView/> in order to add the widget to your page.

    <!-- test-page.xml -->
    <Page xmlns="http://schemas.nativescript.org/tns.xsd" xmlns:gv="@nativescript-community/ui-blurview" loaded="pageLoaded">
        <GridLayout rows="" columns="">
            <Image src="https://wallpaperscraft.com/image/rose_flower_colorful_close-up_petals_18824_960x544.jpg" id="bgimage" stretch="aspectFill" />
            <bv:BlurView></bv:BlurView>
        </GridLayout>
    </Page>

    Demos

    This repository includes both Angular and plain NativeScript demos. In order to run those execute the following in your shell:

    $ git clone https://github.com/nativescript-community/ui-blurview
    $ cd @nativescript-community/ui-blurview
    $ npm install
    $ npm run demo-ios

    This will run the plain NativeScript demo project on iOS. If you want to run it on Android simply use the -android instead of the -ios sufix.

    Install

    npm i @nativescript-community/ui-blurview

    DownloadsWeekly Downloads

    0

    Version

    1.2.2

    License

    Apache-2.0

    Unpacked Size

    65 kB

    Total Files

    20

    Last publish

    Collaborators

    • sebjean
    • cjohn001
    • edusperoni
    • asharghi
    • farfromrefuge
    • triniwiz
    • eddyverbruggen
    • rigor789
    • nathanaela
    • walkerrunpdx
    • dnr
    • keerl
    • cvietor
    • bradmartin
    • rdlabo
    • tralves