New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

titanium-notification-banner

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

titanium-notification-banner

A lightweight notification banner for Axway Titanium.

  • 1.0.1
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
2
decreased by-66.67%
Maintainers
1
Weekly downloads
 
Created
Source

Titanium Notification Banner

A lightweight notification banner for Titanium.

Requirements

  • ES6+ enabled in the tiapp.xml (<transpile>true</transpile>)

Known Issues

  • If the notification banner is shown on a nodge-based device (e.g. iPhone X) and the container is not the window (e.g. a tab-group or navigation-window), the safe area insets should not be applied

Example

import { 
  NotificationBanner, 
  NotificationBannerType, 
  NotificationBannerPosition 
} from 'notification-banner';

new NotificationBanner({
  title: 'Titanium rocks!',
  view: yourParentView,
  type: NotificationBannerType.INFO,
  position: NotificationBannerPosition.BOTTOM
}).flash();

Methods

  • show(options)
    • options: dismissAfterDelay (milliseconds)
  • hide()
  • flash()

Properties

  • title (Required)
  • view (Required)
  • type (NotificationBannerType, one of INFO, SUCCESS, WARN, DANGER or NONE)
  • position (NotificationBannerPosition, one of BOTTOM or TOP)

License

MIT

Author

Hans Knöchel, Lambus GmbH

Keywords

FAQs

Package last updated on 10 Nov 2018

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