Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@oliverphaser/nativescript-bitmap-factory

Package Overview
Dependencies
Maintainers
1
Versions
17
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@oliverphaser/nativescript-bitmap-factory

A NativeScript module for creating and manipulating bitmap images. Forked from mkloubert and updated for NativeScript 8 with fixed iOS crop bug.

  • 1.0.1
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
8
decreased by-63.64%
Maintainers
1
Weekly downloads
 
Created
Source

android ios

NativeScript Eventify

NativeScript has a method called notify you can use to notify an observable of changes. But you can't use it to trigger events like tap or swipe, enter NativeScript Eventify.

NativeScript 8

This will work only on NativeScript 8.

Supported Events

  • tap

Roadmap

  • Add support for doubleTap events
  • Add support for longPress events
  • Add support for swipe events
  • Add support for pan events
  • Add support for pinch events
  • Add support for rotate events
  • Add support for touch events

Installation

ns plugin add @oliverphaser/nativescript-eventify

Usage

Just require it once.

//app.js
require("@oliverphaser/nativescript-eventify");
/**
* home-page.js
*
* Assume the view already has the event listner(s) setup.
*/

// Simulates a tap event
view.eventify({ eventName: "tap", object: view });

Take a look at this Playground for a working example.

API

PropertiesRequiredDescription
EventDataYesThe eventName and object, just like using notify.
InfoSometimesSome of the events (i.e. swipe) will need extra information

Info

EventRequiredPropertiesDescription
tapNon/an/a

Keywords

FAQs

Package last updated on 15 Mar 2022

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc