Ravak Configurator
    Preparing search index...

    Class RavakConfigurator

    Index

    Methods

    Methods

    • Function used for Configurator initialization

      Parameters

      • elementOrSelector: string | Element

        Reference to the element on the page or its selector, defining where to mount the configurator. For example "#ravak-configurator"

      • identifier: string & {} | "bathtubs-sets" | "lite-sets" | "yard-sets"

        The configurator identifier

      • Optionaloptions: ConfiguratorInitOptions

        Additional options for configurator initialization

      • Optionaltexts: Record<string, string>

        Object with customized texts to be displayed in the configurator

        The texts need to be provided in the desired language of the configurator.

          {
        'forms.countryNoResult': 'This country is not available',
        'prices.inactiveTitle': 'Original price',
        'stockDescription.unknown': 'Availability on request',
        'checkout.noItemsError': 'Please add at least one item to order.',
        'checkout.configurationSummary.itemIdentifier': 'Item No.: {0}'
        }

      Returns Promise<void>

      <!-- Place where the configurator should be displayed -->
      <div id="ravak-configurator"></div>

      <!-- ... -->

      <!-- Initialize the configurator -->
      <script src="https://ravak-configurator.make3db.com/assets/RavakConfigurator.js"></script>
      <script>
      RavakConfigurator.init('#ravak-configurator', 'yard-sets');
      </script>