Addon
Represents an addon for CodeMirror
Table of Contents
Properties
- $cssFiles : array<string|int, mixed>
- $identifier : string
- $keymap : JavaScriptModuleInstruction|null
- $modes : array<string|int, mixed>
- $module : JavaScriptModuleInstruction|null
- $options : array<string|int, mixed>
Methods
- __construct() : mixed
- getCssFiles() : array<string|int, mixed>
- getIdentifier() : string
- getKeymap() : JavaScriptModuleInstruction|null
- getModule() : JavaScriptModuleInstruction|null
- getOptions() : array<string|int, mixed>
- setCssFiles() : Addon
- setOptions() : Addon
Properties
$cssFiles
protected
array<string|int, mixed>
$cssFiles
= []
$identifier
protected
string
$identifier
$keymap
protected
JavaScriptModuleInstruction|null
$keymap
= null
$modes
protected
array<string|int, mixed>
$modes
= []
$module
protected
JavaScriptModuleInstruction|null
$module
= null
$options
protected
array<string|int, mixed>
$options
= []
Methods
__construct()
public
__construct(string $identifier[, JavaScriptModuleInstruction|null $module = null ][, JavaScriptModuleInstruction|null $keymap = null ]) : mixed
Parameters
- $identifier : string
- $module : JavaScriptModuleInstruction|null = null
- $keymap : JavaScriptModuleInstruction|null = null
getCssFiles()
public
getCssFiles() : array<string|int, mixed>
Return values
array<string|int, mixed>getIdentifier()
public
getIdentifier() : string
Return values
stringgetKeymap()
public
getKeymap() : JavaScriptModuleInstruction|null
Return values
JavaScriptModuleInstruction|nullgetModule()
public
getModule() : JavaScriptModuleInstruction|null
Return values
JavaScriptModuleInstruction|nullgetOptions()
public
getOptions() : array<string|int, mixed>
Return values
array<string|int, mixed>setCssFiles()
public
setCssFiles(array<string|int, mixed> $cssFiles) : Addon
Parameters
- $cssFiles : array<string|int, mixed>
Return values
AddonsetOptions()
public
setOptions(array<string|int, mixed> $options) : Addon
Parameters
- $options : array<string|int, mixed>