本文整理汇总了C#中Bridge.Html5.Element类的典型用法代码示例。如果您正苦于以下问题:C# Element类的具体用法?C# Element怎么用?C# Element使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
Element类属于Bridge.Html5命名空间,在下文中一共展示了Element类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。
示例1: BaseDemo
public BaseDemo(string name, string category)
{
DemoName = name;
DemoCategory = category;
Container = new DivElement();
Container.Style.Width = "100%";
Container.Style.Height = "100%";
}
示例2: After
/// <summary>
/// Insert content, specified by the parameter, after each element in the set of matched elements.
/// </summary>
/// <param name="content">DOM element, array of elements, HTML string, or jQuery object to insert at the end of each element in the set of matched elements.</param>
/// <returns></returns>
public virtual jQuery After(Element content)
{
return null;
}
示例3: Index
/// <summary>
/// Search for a given element from among the matched elements.
/// </summary>
/// <param name="element">The DOM element or first element within the jQuery object to look for.</param>
/// <returns></returns>
public virtual int Index(Element element)
{
return 0;
}
示例4: After
/// <summary>
/// Insert content, specified by the parameter, after each element in
/// the set of matched elements.
/// </summary>
/// <param name="content">
/// DOM element, array of elements, HTML string, or jQuery object to
/// insert at the end of each element in the set of matched elements.
/// </param>
/// <param name="content2">
/// One or more additional DOM elements, arrays of elements, HTML
/// strings, or jQuery objects to insert at the end of each element in
/// the set of matched elements.
/// </param>
/// <returns>The jqLite instance of itself.</returns>
public virtual jqLite After(string content, Element content2)
{
return null;
}
示例5: ReplaceAll
/// <summary>
/// Replace each target element with the set of matched elements.
/// </summary>
/// <param name="target">A selector string, jQuery object, DOM element, or array of elements indicating which element(s) to replace.</param>
/// <returns></returns>
public virtual jQuery ReplaceAll(Element target)
{
return null;
}
示例6: Closest
/// <summary>
/// For each element in the set, get the first element that matches the selector by testing the element itself and traversing up through its ancestors in the DOM tree.
/// </summary>
/// <param name="element">An element to match elements against.</param>
/// <returns></returns>
public virtual jQuery Closest(Element element)
{
return null;
}
示例7: PrevUntil
/// <summary>
/// Get all preceding siblings of each element up to but not including the element matched by the selector, DOM node, or jQuery object.
/// </summary>
/// <param name="element">A DOM node or jQuery object indicating where to stop matching following sibling elements.</param>
/// <param name="filter">A string containing a selector expression to match elements against.</param>
/// <returns></returns>
public virtual jQuery PrevUntil(Element element, string filter)
{
return null;
}
示例8: Has
/// <summary>
/// Reduce the set of matched elements to those that have a descendant that matches the selector or DOM element.
/// </summary>
/// <param name="element">A DOM element to match elements against.</param>
/// <returns></returns>
public virtual jQuery Has(Element element)
{
return null;
}
示例9: InsertBefore
/// <summary>
/// Insert every element in the set of matched elements before the target.
/// </summary>
/// <param name="target">A selector, element, HTML string, array of elements, or jQuery object; the matched set of elements will be inserted at the end of the element(s) specified by this parameter.</param>
/// <returns></returns>
public virtual jQuery InsertBefore(Element target)
{
return null;
}
示例10: InsertAfter
/// <summary>
/// Insert every element in the set of matched elements after the target.
/// </summary>
/// <param name="target">A selector, element, HTML string, array of elements, or jQuery object; the matched set of elements will be inserted at the end of the element(s) specified by this parameter.</param>
/// <returns></returns>
public virtual jQuery InsertAfter(Element target)
{
return null;
}
示例11: Before
/// <summary>
/// Insert content, specified by the parameter, before each element in the set of matched elements.
/// </summary>
/// <param name="content">DOM element, array of elements, HTML string, or jQuery object to insert at the end of each element in the set of matched elements.</param>
/// <param name="content2">One or more additional DOM elements, arrays of elements, HTML strings, or jQuery objects to insert at the end of each element in the set of matched elements.</param>
/// <returns></returns>
public virtual jQuery Before(jQuery content, Element content2)
{
return null;
}
示例12: ParentsUntil
/// <summary>
/// Get the ancestors of each element in the current set of matched elements, up to but not including the element matched by the selector, DOM node, or jQuery object.
/// </summary>
/// <param name="element">A DOM node or jQuery object indicating where to stop matching following sibling elements.</param>
/// <returns></returns>
public virtual jQuery ParentsUntil(Element element)
{
return null;
}
示例13: Is
/// <summary>
/// Check the current matched set of elements against a selector, element, or jQuery object and return true if at least one of these elements matches the given arguments.
/// </summary>
/// <param name="element">One or more elements to match the current set of elements against.</param>
/// <returns></returns>
public virtual bool Is(Element element)
{
return false;
}
示例14: Find
/// <summary>
/// Get the descendants of each element in the current set of matched elements, filtered by a selector, jQuery object, or element.
/// </summary>
/// <param name="element">An element to match elements against.</param>
/// <returns></returns>
public virtual jQuery Find(Element element)
{
return null;
}
示例15: Filter
/// <summary>
/// Reduce the set of matched elements to those that match the selector or pass the function's test.
/// </summary>
/// <param name="elements">One or more DOM elements to match the current set of elements against.</param>
/// <returns></returns>
public virtual jQuery Filter(Element[] elements)
{
return null;
}