API Docs for: 0.0.2
Show:

File: ../api/src/view/highlight/square.js

/**
 Add on for chess board. used to indicate current moves by highlighting squares.
 @submodule Board
 @namespace chess.view.highlight
 @class Square
 @constructor
 @param {Object} config
 @example
 	children:[
 	{
		 type:'chess.view.board.Board',
		 labels:true,
		 weight:1,
		 addons:[
			 {
				 type:'chess.view.highlight.Square'
			 }
		 ]
	 }
 ]
 */
chess.view.highlight.Square = new Class({
	Extends:chess.view.highlight.SquareBase,
	ludoConfig:function (config) {
		this.parent(config);
		this.view.addEvent('highlight', this.highlight.bind(this));
		this.view.addEvent('clearHighlight', this.clear.bind(this));
	}
});