TronDesigner Website Integration
    Preparing search index...

    Variable ScriptElementDataAttributesNamesConst

    ScriptElementDataAttributesNames: {
        apiKey: "data-td-api-key";
        apiUrl: "data-td-api";
        customerCompany: "data-td-customer-company";
        customerEmail: "data-td-customer-email";
        customerIdentity: "data-td-customer-identity";
        customerPerson: "data-td-customer-person";
        language: "data-td-language";
        logLevel: "data-td-log-level";
        logoCreatedCallback: "data-td-logo-created-callback";
        logoDeletedCallback: "data-td-logo-deleted-callback";
        logoUpdatedCallback: "data-td-logo-updated-callback";
        monitoredElementId: "data-td-monitored-element-id";
        printJobCreatedCallback: "data-td-print-job-created-callback";
        printJobUpdatedCallback: "data-td-print-job-updated-callback";
        proofreadingCreatedCallback: "data-td-proofreading-created-callback";
        scriptInitFailedCallback: "data-td-script-init-failed-callback";
        scriptInitializedCallback: "data-td-script-initialized-callback";
        textCreatedCallback: "data-td-text-created-callback";
    } = ...

    Data attributes for the integration script.

    Type declaration

    • ReadonlyapiKey: "data-td-api-key"

      The API key for Tron Designer API.

    • ReadonlyapiUrl: "data-td-api"

      The URL for Tron Designer API.

    • ReadonlycustomerCompany: "data-td-customer-company"

      The customer company for Tron Designer API.

    • ReadonlycustomerEmail: "data-td-customer-email"

      The customer email for Tron Designer API.

    • ReadonlycustomerIdentity: "data-td-customer-identity"

      The customer identity for Tron Designer API.

    • ReadonlycustomerPerson: "data-td-customer-person"

      The customer person for Tron Designer API.

    • Readonlylanguage: "data-td-language"

      ISO 2 language code for default UI language.

    • ReadonlylogLevel: "data-td-log-level"

      The log level for the integration script.

      Allows the following values:

      • 'debug'
      • 'info'
      • 'warn'
      • 'error'
    • ReadonlylogoCreatedCallback: "data-td-logo-created-callback"

      Name of globally available function to call when a logo is created. This callback receives one argument of type DesignerEntityEvent with detail of type ILogoDTO.

    • ReadonlylogoDeletedCallback: "data-td-logo-deleted-callback"

      Name of globally available function to call when a logo is deleted. This callback receives one argument of type DesignerEntityEvent with no detail.

    • ReadonlylogoUpdatedCallback: "data-td-logo-updated-callback"

      Name of globally available function to call when a logo is updated. This callback receives one argument of type DesignerEntityEvent with detail of type ILogoDTO.

    • ReadonlymonitoredElementId: "data-td-monitored-element-id"

      ID of root element to monitor for changes.

    • ReadonlyprintJobCreatedCallback: "data-td-print-job-created-callback"

      Name of globally available function to call when a print job is created. This callback receives one argument of type DesignerEntityEvent with detail of type IPrintJobDTO.

    • ReadonlyprintJobUpdatedCallback: "data-td-print-job-updated-callback"

      Name of globally available function to call when a print job is updated. This callback receives one argument of type DesignerEntityEvent with detail of type IPrintJobDTO.

    • ReadonlyproofreadingCreatedCallback: "data-td-proofreading-created-callback"

      Name of globally available function to call when a proofreading is generated. This callback receives one argument of type DesignerEntityEvent with detail of type Blob which contains a proofreading PDF file.

    • ReadonlyscriptInitFailedCallback: "data-td-script-init-failed-callback"

      Name of globally available function to call when the script initialization has failed. This callback receives one argument of type Error | string.

    • ReadonlyscriptInitializedCallback: "data-td-script-initialized-callback"

      Name of globally available function to call when the script has been initialized. This callback receives no arguments.

    • ReadonlytextCreatedCallback: "data-td-text-created-callback"

      Name of globally available function to call when a text is created. This callback receives one argument of type DesignerEntityEvent with detail of type ITextDTO.