/// <summary>
 ///     Get the parent of each element in the current set of tag, optionally filtered by a action.
 /// </summary>
 /// <param name="original"></param>
 /// <param name="class">
 ///     Bootstrap classes
 /// </param>
 public static JquerySelectorExtend Parent(this JquerySelectorExtend original, B @class)
 {
     return(original.Parent(selector => selector.Class(@class)));
 }
Beispiel #2
0
 /// <summary>
 ///     Get the parent of each element in the current set of matched elements, optionally filtered by a action.
 /// </summary>
 public static JquerySelectorExtend Parent(this JquerySelectorExtend original)
 {
     return(original.Parent(null));
 }
 /// <summary>
 ///     Get the parent of each element in the current set of tag, optionally filtered by a action.
 /// </summary>
 /// <param name="original"></param>
 /// <param name="tag">
 ///     Tag
 /// </param>
 public static JquerySelectorExtend Parent(this JquerySelectorExtend original, HtmlTag tag)
 {
     return(original.Parent(selector => selector.Tag(tag)));
 }