本文整理汇总了C#中Bridge.Html5.Element类的典型用法代码示例。如果您正苦于以下问题:C# Element类的具体用法?C# Element怎么用?C# Element使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
Element类属于Bridge.Html5命名空间,在下文中一共展示了Element类的20个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的C#代码示例。
示例1: BaseDemo
public BaseDemo(string name, string category)
{
DemoName = name;
DemoCategory = category;
Container = new DivElement();
Container.Style.Width = "100%";
Container.Style.Height = "100%";
}
开发者ID:guidovanhilst,项目名称:SharpThreejs,代码行数:8,代码来源:BaseDemo.cs
示例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;
}
开发者ID:configit-open-source,项目名称:Frameworks,代码行数:9,代码来源:Outside.cs
示例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;
}
开发者ID:txdv,项目名称:Frameworks,代码行数:9,代码来源:Dom.cs
示例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;
}
开发者ID:configit-open-source,项目名称:Frameworks,代码行数:18,代码来源:After.cs
示例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;
}
开发者ID:txdv,项目名称:Frameworks,代码行数:9,代码来源:Replacement.cs
示例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;
}
开发者ID:txdv,项目名称:Frameworks,代码行数:9,代码来源:Tree.cs
示例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;
}
开发者ID:txdv,项目名称:Frameworks,代码行数:10,代码来源:Tree.cs
示例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;
}
开发者ID:txdv,项目名称:Frameworks,代码行数:9,代码来源:Filtering.cs
示例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;
}
开发者ID:configit-open-source,项目名称:Frameworks,代码行数:9,代码来源:Outside.cs
示例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;
}
开发者ID:configit-open-source,项目名称:Frameworks,代码行数:9,代码来源:Outside.cs
示例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;
}
开发者ID:configit-open-source,项目名称:Frameworks,代码行数:10,代码来源:Outside.cs
示例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;
}
开发者ID:txdv,项目名称:Frameworks,代码行数:9,代码来源:Tree.cs
示例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;
}
开发者ID:txdv,项目名称:Frameworks,代码行数:9,代码来源:Filtering.cs
示例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;
}
开发者ID:txdv,项目名称:Frameworks,代码行数:9,代码来源:Tree.cs
示例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;
}
开发者ID:txdv,项目名称:Frameworks,代码行数:9,代码来源:Filtering.cs
示例16: ReplaceWith
/// <summary>
/// Replace each element in the set of matched elements with the provided new content and return the set of elements that was removed.
/// </summary>
/// <param name="newContent">The content to insert. May be an HTML string, DOM element, array of DOM elements, or jQuery object.</param>
/// <returns></returns>
public virtual jQuery ReplaceWith(Element newContent)
{
return null;
}
开发者ID:txdv,项目名称:Frameworks,代码行数:9,代码来源:Replacement.cs
示例17: DrawFocusIfNeeded
/// <summary>
/// If a given element is focused, this method draws a focus ring around the current path.
/// </summary>
/// <param name="element">The element to check whether it is focused or not.</param>
public virtual void DrawFocusIfNeeded(Element element)
{
return;
}
开发者ID:csuffyy,项目名称:Bridge,代码行数:8,代码来源:CanvasRenderingContext2D.cs
示例18: Render
public extern static void Render(ReactElement element, Element container);
开发者ID:ProductiveRage,项目名称:Bridge.React,代码行数:1,代码来源:React.cs
示例19: Wrap
/// <summary>
/// Wrap an HTML structure around each element in the set of matched elements.
/// </summary>
/// <param name="wrappingElement">A selector, element, HTML string, or jQuery object specifying the structure to wrap around the matched elements.</param>
/// <returns>The jqLite instance of itself.</returns>
public virtual jqLite Wrap(Element wrappingElement)
{
return null;
}
开发者ID:configit-open-source,项目名称:Frameworks,代码行数:9,代码来源:Wrap.cs
示例20: NextUntil
/// <summary>
/// Get all following siblings of each element up to but not including the element matched by the selector, DOM node, or jQuery object passed.
/// </summary>
/// <param name="element">A DOM node or jQuery object indicating where to stop matching following sibling elements.</param>
/// <returns></returns>
public virtual jQuery NextUntil(Element element)
{
return null;
}
开发者ID:txdv,项目名称:Frameworks,代码行数:9,代码来源:Tree.cs
注:本文中的Bridge.Html5.Element类示例整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。 |
请发表评论