Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface FlarumObject

The global flarum variable.

Contains the compiled ES Modules for all Flarum extensions and core.

example

Check if flarum-tags is present if ('flarum-tags' in flarum.extensions) { // Tags is installed and enabled! }

Hierarchy

  • FlarumObject

Index

Properties

Properties

core

core: Readonly<ESModule>

Contains the compiled ES Module for Flarum's core.

You shouldn't need to access this directly for any reason.

extensions

extensions: Readonly<Record<string, ESModule>>

Contains the compiled ES Modules for all Flarum extensions.

example

Check if flarum-tags is present if ('flarum-tags' in flarum.extensions) { // Tags is installed and enabled! }

Generated using TypeDoc version 0.22.10