Ejemplo n.º 1
0
 /// <summary>
 /// Insert an element
 /// </summary>
 /// <param name="method"></param>
 /// <param name="element"></param>
 public void InsertAdjacentElement(InsertWhere method, IElement element)
 {
     if (element == null)
     {
         return;
     }
     peer2.InsertAdjacentElement(method.ToString(), element.GetBaseElement());
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Insert text.
 /// </summary>
 /// <param name="method"></param>
 /// <param name="text"></param>
 public void InsertAdjacentText(InsertWhere method, string text)
 {
     peer.InsertAdjacentText(method.ToString(), text);
 }
Ejemplo n.º 3
0
 /// <summary>
 /// Insert Html
 /// </summary>
 /// <param name="method"></param>
 /// <param name="html"></param>
 public void InsertAdjacentHtml(InsertWhere method, string html)
 {
     peer.InsertAdjacentHTML(method.ToString(), html);
 }