UNPKG

@availity/native-form

Version:

Submit JSON data via a native form, not AJAX. Useful when you need to open a new page with a POST action.

14 lines (10 loc) 312 B
/* eslint-disable @typescript-eslint/no-explicit-any */ type SsoType = 'saml' | 'openid'; declare function nativeForm( spaceId: string, params?: Record<string, any>, formAttributes?: Record<string, any>, type?: SsoType | string, clientId?: string ): Promise<void>; export { nativeForm as default };