@sheerid/jslib
    Preparing search index...

    Type Alias CookieOptions

    Control how cookies behave

    expires Number of days for cookie to expire in. Use 0 to expire in same browser session.

    secure Whether the cookie is set securely.

    type CookieOptions = {
        domain?: string;
        enabled: boolean;
        expires: number;
        path?: string;
        sameSite?: "lax" | "strict" | "none";
        secure: boolean;
    }
    Index

    Properties

    domain?: string
    enabled: boolean
    expires: number
    path?: string
    sameSite?: "lax" | "strict" | "none"
    secure: boolean