C# Class Castle.MonoRail.Framework.Helpers.PrototypeHelper.JSElementGenerator

Implementation for the IJSElementGenerator
Inheritance: DynamicDispatchSupport, IJSElementGenerator
Datei anzeigen Open project: nats/castle-1.0.3-mono

Public Methods

Method Description
JSElementGenerator ( JSGenerator generator, String root ) : System

Initializes a new instance of the JSElementGenerator class.

Replace ( object renderOptions ) : void

Replaces the entire element's content -- and not only its innerHTML -- by the content evaluated.

ReplaceHtml ( object renderOptions ) : void

Replaces the content of the element.

Private Methods

Method Description
JSElementGenerator ( ) : System

Collects the public methods

Method Details

JSElementGenerator() public method

Initializes a new instance of the JSElementGenerator class.
public JSElementGenerator ( JSGenerator generator, String root ) : System
generator JSGenerator The generator.
root String The root.
return System

Replace() public method

Replaces the entire element's content -- and not only its innerHTML -- by the content evaluated.
public Replace ( object renderOptions ) : void
renderOptions object Defines what to render
return void

ReplaceHtml() public method

Replaces the content of the element.
public ReplaceHtml ( object renderOptions ) : void
renderOptions object Defines what to render
return void