UNPKG

@maizzle/framework

Version:

Maizzle is a framework that helps you quickly build HTML emails with Tailwind CSS.

19 lines 649 B
import { UrlQuery } from "../types/config.js"; //#region src/composables/useUrlQuery.d.ts /** * Append query parameters to URLs in the current email template — same * as `config.url.query`, scoped to one SFC. Common use: per-template * UTM parameters or campaign tracking. * * Usage in SFC <script setup>: * ```ts * useUrlQuery({ utm_source: 'maizzle', utm_campaign: 'newsletter' }) * ``` * * Pass `_options` alongside the params to tweak which tags/attributes * receive them (see `UrlQueryOptions`). */ declare function useUrlQuery(value: UrlQuery): void; //#endregion export { useUrlQuery }; //# sourceMappingURL=useUrlQuery.d.ts.map