Raster.config( RASTER_HOME [, theme] )

Configure Raster home directory and theme. This method does not actually apply any CSS or script to the documment, it only documents where are the resources the page uses. Some library methods that dynamically generate html will need this informaton to generate the correct url to css backgrounds, and/or library images.


Name Type   Description
RASTER_HOME string Absolute or relative URL to the /raster directory. This is necessary for control to resolve paths to CSS and IMAGE resource files in the application. If this value is not set it will default to "raster" (i.e. The raster folder is in the same directory of the *.html document).
theme string optional Name of the CSS theme raster will use to render controls. If this value is not given, the "modern" them is used. This value is case-sensitive.
Home Examples Download License
Copyright © 2010-2017 Edwin R. López