/// <summary> /// Create a new CQ from an HTML fragment, and use quickSet to create attributes (and/or css) /// </summary> /// /// <param name="html"> /// A string of HTML. /// </param> /// <param name="quickSet"> /// an object containing CSS properties and attributes to be applied to the resulting fragment. /// </param> /// /// <returns> /// A new CQ object /// </returns> public static CQ Create(string html, object quickSet) { CQ csq = CQ.Create(html); return(csq.AttrSet(quickSet, true)); }
public static CQ Create(string selector, object css) { CQ csq = CQ.Create(selector); return(csq.AttrSet(css, true)); }