SwanandMarathe / titanium-notification-banner

A lightweight ES6 based notification banner - coming with different types and positions.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Titanium Notification Banner

A notification banner for Titanium that uses full native API's to modally present messages.

Requirements

  • Titanium 7.0.0+

Example

import NotificationBanner from 'ti.notificationbanner';

NotificationBanner.show({
  title: 'Titanium rocks!',
  duration: 2,
  
  // iOS only for now
  subtitle: 'It seriously does',
  backgroundColor: 'green',
});

Methods

  • show(options)

Properties

  • title (Required)
  • subtitle (Optional)
  • backgroundColor (Optional)
  • duration (Optional)

License

MIT

Author

Hans Knöchel, Lambus GmbH

About

A lightweight ES6 based notification banner - coming with different types and positions.

License:MIT License


Languages

Language:Objective-C 72.9%Language:JavaScript 14.1%Language:Java 8.1%Language:Swift 4.9%