Esempio n. 1
0
 /// <summary>
 /// Replaces the content of the element.
 /// </summary>
 /// <param name="renderOptions">Defines what to render</param>
 /// <example>
 /// The following example uses nvelocity syntax:
 /// <code>
 /// $page.el('elementid').ReplaceHtml("%{partial='shared/newmessage.vm'}")
 /// </code>
 /// </example>
 public void ReplaceHtml(object renderOptions)
 {
     parent.ReplaceHtml(root, renderOptions);
 }
Esempio n. 2
0
 public void ReplaceHtml()
 {
     sut.ReplaceHtml("#foo", "something");
     Assert.AreEqual("jQuery(\"#foo\").html(\"something\");\r\n", codeGen.Lines.ToString());
 }