public Log(HtmlElement container) { this.container = container; var html = "<div class='log-main'><ol></ol></div>"; this.div = ElementFactory.CreateDiv(); this.div.id = "log-top"; this.div.innerHTML = html; this.container.appendChild(this.div); this.list = (HtmlOListElement)this.div.getElementsByTagName("ol")[0]; }
public Hello() { Window.alert("Hello DotWeb!"); this.box = (HtmlElement)Document.getElementById("box"); this.box.onclick = this.OnClick; }
public static extern void SetEventListener(HtmlElement element, IEventListener listener);
private static extern IEventListener GetEventListener(HtmlElement element);
protected SimplePanel(HtmlElement element) { this.Element = element; }
public extern void add(HtmlElement element, HtmlElement before);