/// <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) { selector.AddMethod("text"); return(selector); }
/// <summary> /// Get the determine whether any of the matched elements are assigned the given class. /// </summary> public static JquerySelectorExtend HasClass(this JquerySelectorExtend selector, string @class) { selector.AddMethod("hasClass", Selector.Jquery.Class(@class).ToSelector()); return(selector); }
/// <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) { selector.AddMethod("scrollTop"); return(selector); }
/// <summary> /// Get the current computed width for the first element in the set of matched elements, including padding and border. /// </summary> public static JquerySelectorExtend OuterWidth(this JquerySelectorExtend selector) { selector.AddMethod("outerWidth"); return(selector); }
/// <summary> /// Get the current computed height for the first element in the set of matched elements, /// including padding, border, and optionally margin. Returns an integer (without “px”) representation of the value or null if called on an empty set of elements. /// </summary> public static JquerySelectorExtend OuterHeight(this JquerySelectorExtend selector) { selector.AddMethod("outerHeight"); return(selector); }
/// <summary> /// Get the current count element of matched elements /// </summary> public static JquerySelectorExtend Length(this JquerySelectorExtend selector) { selector.AddProperty("length"); return(selector); }