Options
All
  • Public
  • Public/Protected
  • All
Menu

Module SmartMakieta-Init

Index

Interfaces

Type aliases

Functions

Type aliases

SmartMakietaInit

SmartMakietaInit: typeof init

Functions

init

  • Parameters

    • implementationCode: string

      provide implementationCode you received from 3D Estate

    • rootElementId: string

      HTML element ID in which SmartMakieta should be open

    • Optional customizeApp: CustomizeApp

      customize colors and sizes

    • Optional appFeatures: AppFeatures

      adjust app behaviour

    • Optional customTranslation: TranslationList

      add your custom translation

    • Optional appHooks: AppHooks

      handle user actions with your own code, use analytics

    • Optional forceLayoutOpen: boolean | "desktop" | "mobile"

      Launch app in constant layout mode true = "mobile" App will not watch for screen size changes and will not switch between mobile and desktop layout On mobile devices allows to open mobile version of app without start-screen Start screen must be prepared by implementation team on client side Keep in mind that after closing mobile version there will be no start-screen provided by 3D Estate

    Returns InitResult | InitError

initApp

Generated using TypeDoc