@nosto/web-components
    Preparing search index...

    Function setDynamicCardDefaults

    • Sets default values for DynamicCard attributes. These defaults will be applied to all DynamicCard instances created after this function is called.

      Parameters

      • defaults: DefaultProps

        An object containing default values for DynamicCard attributes

      Returns void

      import { setDynamicCardDefaults } from '@nosto/web-components'

      setDynamicCardDefaults({
      placeholder: true,
      lazy: true,
      template: 'product-card'
      })