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.

12 lines (9 loc) 299 B
type SsoType = 'saml' | 'openid'; declare function nativeForm( spaceId: string, params?: Record<string, string | number | boolean | Record<string, unknown>>, formAttributes?: Record<string, string>, type?: SsoType | string, clientId?: string ): Promise<void>; export default nativeForm;