芝麻web文件管理V1.00
编辑当前文件:/home/freeclou/app.optimyar.com/backend/node_modules/cheerio/lib/api/forms.d.ts
import type { Node } from 'domhandler'; import type { Cheerio } from '../cheerio'; /** * Encode a set of form elements as a string for submission. * * @category Forms * @returns The serialized form. * @see {@link https://api.jquery.com/serialize/} */ export declare function serialize
(this: Cheerio
): string; interface SerializedField { name: string; value: string; } /** * Encode a set of form elements as an array of names and values. * * @category Forms * @example * * ```js * $('
').serializeArray(); * //=> [ { name: 'foo', value: 'bar' } ] * ``` * * @returns The serialized form. * @see {@link https://api.jquery.com/serializeArray/} */ export declare function serializeArray
(this: Cheerio
): SerializedField[]; export {}; //# sourceMappingURL=forms.d.ts.map