 CUI.Template.loadTemplateText(require('./Layer.html'));
 
 class CUI.Layer extends CUI.DOMElement
+
+	@FILL_SPACE_CHECK_ARRAY = ["auto", "both", "horizontal", "vertical"]
 
 	constructor: (opts) ->
 		super(opts)

		@__backdrop?.destroy()
		@__backdrop = null


CUI.ready ->


			fill_space:
				default: "auto"
				mandatory: true
				check: CUI.Layer.FILL_SPACE_CHECK_ARRAY

			# if set, the Layer, when shown checks if the "element"
			# is still in the DOM tree
