Sha256: 1957c35022f84dc210dad48a3118b680dc80548d3cba64a502be332b1b1f322e

Contents?: true

Size: 867 Bytes

Versions: 1

Compression:

Stored size: 867 Bytes

Contents

define("dojox/color/api/ColorModel", ["dojo/_base/declare"], 
	function(declare){
	
	return declare("dojox.color.api.ColorModel", null, {
		// summary:
		//		API for classes that implement a color model that returns a color from a data value.
		
		constructor: function(){
			// summary:
			//		Constructor.
		},
	
		initialize: function(items, colorFunc){
			// summary:
			//		Optionally initialize the color model from a list of data items and using a function
			//		that returns the value used to compute the color for a given item.
			// items: Object[]
			//		The data items. 
			// colorFunc: Function
			//		The function that returns the value used to compute the color for particular data item.			
		},
	
		getColor: function(value){
			// summary:
			//		return the color for a given data value.
			// value: Number
			//		The data value. 			
		}
	});
});

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
dojox-rails-0.11.0 vendor/assets/javascripts/color/api/ColorModel.js.uncompressed.js