예제 #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());
 }
예제 #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);
 }
예제 #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);
 }