Skip to content
This repository has been archived by the owner on Nov 29, 2017. It is now read-only.

mcongrove/com.mcongrove.detailNavigation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Detail Navigation Widget

A detail-view navigation (previous/next) widget for Titanium Alloy.

Example Usage

var navigation = Alloy.createWidget("com.mcongrove.detailNavigation", null, {
	up: function(_event) {
		openPreviousArticle();
	},
	down: function(_event) {
		openNextArticle();
	},
	color: "black"
});

$.Wrapper.add(navigation.getView());

Options

Parameter Type Default Options
up Function
down Function
color String "white" "white", "black"

Changelog

  • 1.1
    • Initial commit as separate module; see ChariTi for previous versions

License

Copyright 2013 Matthew Congrove

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

About

Please do not use: this is out-dated

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published