/// <summary> /// Check the current matched set of elements against a selector, element and return true /// </summary> public static JquerySelectorExtend Is(this JquerySelectorExtend selector, JquerySelector isSelector) { return(selector.Method("is", isSelector)); }
/// <summary> /// Reduce the set of matched elements to a subset specified by a range of indices. /// </summary> /// <param name="original"></param> /// <param name="start"> /// An integer indicating the 0-based position at which the elements begin to be selected. If negative, it indicates an /// offset from the end of the set. /// </param> /// <param name="end"> /// An integer indicating the 0-based position at which the elements stop being selected. If negative, it indicates an /// offset from the end of the set. If omitted, the range continues until the end of the set. /// </param> public static JquerySelectorExtend Slice(this JquerySelectorExtend original, Selector start, Selector end = null) { return(original.Method("slice", new object[] { start, end ?? 0 })); }
/// <summary> /// Get the current computed height for the first element in the set of matched elements, including padding but not border. /// </summary> public static JquerySelectorExtend InnerHeight(this JquerySelectorExtend selector) { return(selector.Method("innerHeight")); }
/// <summary> /// Get the current computed width for the first element in the set of matched elements, including padding but not border. /// </summary> public static JquerySelectorExtend InnerWidth(this JquerySelectorExtend selector) { return(selector.Method("innerWidth")); }
/// <summary> /// Get the value of an attribute for the first element in the set of matched elements every matched element. /// </summary> public static JquerySelectorExtend FormIsValid(this JquerySelectorExtend selector) { return(selector.Method("valid")); }
/// <summary> /// Get the determine whether any of the matched elements are assigned the given class. /// </summary> public static JquerySelectorExtend HasClass(this JquerySelectorExtend selector, B @class) { return(selector.Method("hasClass", Selector.Jquery.Class(@class).ToSelector().Replace(".", string.Empty))); }
/// <summary> /// Get the value of a style property for the first element in the set of matched elements every matched element. /// </summary> public static JquerySelectorExtend Css(this JquerySelectorExtend selector, string css) { return(selector.Method("css", css)); }
/// <summary> /// Get the value of an attribute for the first element in the set of matched elements every matched element. /// </summary> public static JquerySelectorExtend Attr(this JquerySelectorExtend selector, string attr) { return(selector.Method("attr", attr)); }
/// <summary> /// Get the combined text contents of each element in the set of matched elements, including their descendants /// </summary> public static JquerySelectorExtend Text(this JquerySelectorExtend selector) { return(selector.Method("text")); }
/// <summary> /// Get the current horizontal position of the scroll bar for the first element in the set of matched elements the vertical position of the scroll bar for every matched element. /// </summary> public static JquerySelectorExtend ScrollTop(this JquerySelectorExtend selector) { return(selector.Method("scrollTop")); }
/// <summary> /// Get the current value of the first element in the set of matched elements /// </summary> public static JquerySelectorExtend Val(this JquerySelectorExtend selector) { return(selector.Method("val")); }