Skip to content

m1ga/com.miga.slideshow

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

Fullscreen background slideshow Titanium Alloy

Fullscreen background slideshow with blending images

Preview

Preview

Quick Start

Get it gitTio

Download this repository and install it:

  • In your application's config.json file, include the following line in your dependencies:
"dependencies": {
    "com.miga.slideshow": "1.0"
}
  • Copy the com.miga.slideshow folder into your app/widgets directory.

Or simply use the gitTio CLI:

$ gittio install com.miga.slideshow

Use it

xml

<Widget src="com.miga.slideshow" id="slideshow"/>

controller

$.slideshow.init({
    images: ["/images/1.jpg","/images/2.jpg","/images/3.jpg"],
    time: 5000
})

$.slideshow.start();
$.slideshow.pause();
$.slideshow.resume();

For big images it is useful to add this to your tiapp.xml:

<android xmlns:android="http://schemas.android.com/apk/res/android">
    <manifest>
        <application android:largeHeap="true"/>
    </manifest>
</android>

otherwise it won't blend the images on Android.

Documentation

Public methods

Method Description
init set images and time
start start slideshow
pause pause slideshow
resume resume slideshow

TODO / Ideas for improvement

Feel free to improve this widget by forking, submitting pull requests or creating issues.

Changelog

  • 1.0 First version

Licences

This project is licensed under CC BY-SA 4.0. Please read the https://creativecommons.org/licenses/by-sa/4.0/ for more information about this license.

Appcelerator, Appcelerator Titanium and associated marks and logos are trademarks of Appcelerator, Inc.
Titanium is Copyright (c) 2008-2015 by Appcelerator, Inc. All Rights Reserved.
Titanium is licensed under the Apache Public License (Version 2).

About

Fullscreen background slideshow widget

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published