Method | Description | |
---|---|---|
Compress ( ) : |
Forces pretty rendering off so you can see the output whilst in DEBUG mode if you wish
|
|
Finish ( ) : |
Used to flag that configuration has finished, and returns the SelectMenu object so we can continue defining SelectMenu attributes.
|
|
Rendering ( |
Constructor
|
|
SetAutoScript ( bool autoScript ) : |
Specifies whether the control should be self-initialising (with it's own $(document).ready section, or if this should be left to the view to declare on purpose.
|
|
SetPrettyRender ( bool prettyRender ) : |
Specifies if the HTML/JavaScript which is rendered should be indented in a more readable manner (as opposed to when Compress() is active (i.e. PrettyRender=false) which keeps everything in one line to keep the script size down)
|
|
SetRenderCSS ( bool renderCSS ) : |
Specifies that the CSS class the jQuery UI library should be written as part of widget rendering. This is useful if you still want your pages to look "jQuery UI-ified" when your user has JavaScript disabled.
|
|
SetTabDepth ( int indentation ) : |
Specifies that when writing in pretty HTML mode (see Compress) the Html helper should start writing at a particular tab depth (so everything lines up nicely when you view the source).
|
|
ShowCSS ( ) : |
Writes slim CSS to the browser (jQuery UI classes aren't expanded for non-JS users)
|
public Rendering ( |
||
selectMenu | SelectMenu object to set rendering options of | |
return | System |
public SetAutoScript ( bool autoScript ) : |
||
autoScript | bool | /// If true the control initialises itself /// If false the initialisation is left to the [calling] view /// |
return |
public SetPrettyRender ( bool prettyRender ) : |
||
prettyRender | bool | Flags pretty rendering on or off |
return |
public SetRenderCSS ( bool renderCSS ) : |
||
renderCSS | bool | Flags writing CSS class names on or off |
return |
public SetTabDepth ( int indentation ) : |
||
indentation | int | How far the Html helper should indent the rendered HTML |
return |