1.0.12 • Published 29 days ago
@aemforms/af-custom-functions v1.0.12
af-custom-functions
Provides a collection of custom functions designed to aid creation of adaptive form in AEM.
Installation
npm install @aemforms/af-custom-funtions
Usage
// In user's code (ESM)
import { validateURL, navigateTo, toObject } from '@aemforms/af-custom-functions';
// Usage
const result = validateURL('https://example.com');
navigateTo('https://example.com', '_blank');
const obj = toObject('{"key": "value"}');