default: {
    attributesAsObject: (attrs: Attr[]) => Record<string, string | true>;
    attributesToString: (attrs: Attr[]) => string;
    setAttributes: (
        el: HTMLElement,
        attrs: Record<string, string | boolean>,
    ) => void;
}

Type declaration

  • attributesAsObject: (attrs: Attr[]) => Record<string, string | true>
  • attributesToString: (attrs: Attr[]) => string
  • setAttributes: (el: HTMLElement, attrs: Record<string, string | boolean>) => void