Configuration options

LiSA Library comes with a variety of configuration options to customise it to your needs.

type Config = {
  autoplay?: Autoplay;
  channel?: string;
  client: string;
  data?: DataConfig;
  debug?: boolean;
  hostNode?: string;
  language?: LanguageCode;
  layout?: LayoutConfig;
  on?: {
    error?: (err: Error | string) => void;
    ready?: (library: Library) => void;
  };
  player?: PlayerConfig;
  querystring?: string;
  quickView?: QuickViewConfig;
  sections?: SectionConfig[];
  store?: string;
  template?: string;
};

Please note: For better readability each example will only include the configuration option described. All other configuration options (required or optional) are omitted.

Last updated