Skip to content
master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 

FuseNativeControls

Build Status

This library provides cross-platform abstractions of native Android and iOS controls for fuse.

Implemented so far:

  • DatePicker
  • TimePicker

Example:

<NativeViewHost>
	<Native.DatePicker ux:Name="datePicker">
		<JavaScript>
			var date = { year: 2018, month: 1, day: 13 };
			var minDate = { year: 2016, month: 1, day: 1 };
			var maxDate = { year: 2020, month: 1, day: 31 };

			datePicker.setDate(date);
			datePicker.setMaxDate(maxDate);
			datePicker.setMinDate(minDate);
			
			datePicker.CurrentDate.addSubscriber(function () {
				var d = datePicker.CurrentDate.value;
				console.log("Date changed: " + d["year"] + "-" + d["month"] + "-" + d["day"]);
			});

		</JavaScript>
	</Native.DatePicker>
</NativeViewHost>

About

No description or website provided.

Topics

Resources

Releases

No releases published

Packages

No packages published

Languages