Extendable
@blockslides/core / Extendable
Class: Extendable<Options, Storage, Config>
Defined in: blockslides/packages/core/src/Extendable.ts:351
Extended by
Type Parameters
Options
Options = any
Storage
Storage = any
Config
Config = ExtensionConfig<Options, Storage> | NodeConfig<Options, Storage> | MarkConfig<Options, Storage>
Constructors
Constructor
new Extendable<
Options,Storage,Config>(config):Extendable<Options,Storage,Config>
Defined in: blockslides/packages/core/src/Extendable.ts:370
Parameters
config
Partial<Config> = {}
Returns
Extendable<Options, Storage, Config>
Properties
type
type:
string="extendable"
Defined in: blockslides/packages/core/src/Extendable.ts:359
parent
parent:
Extendable<any,any,ExtensionConfig<any,any> |NodeConfig<any,any> |MarkConfig<any,any>> |null=null
Defined in: blockslides/packages/core/src/Extendable.ts:360
child
child:
Extendable<any,any,ExtensionConfig<any,any> |NodeConfig<any,any> |MarkConfig<any,any>> |null=null
Defined in: blockslides/packages/core/src/Extendable.ts:362
name
name:
string=""
Defined in: blockslides/packages/core/src/Extendable.ts:364
config
config:
Config
Defined in: blockslides/packages/core/src/Extendable.ts:366
Accessors
options
Get Signature
get options():
Options
Defined in: blockslides/packages/core/src/Extendable.ts:379
Returns
Options
storage
Get Signature
get storage():
Readonly<Storage>
Defined in: blockslides/packages/core/src/Extendable.ts:389
Returns
Readonly<Storage>
Methods
configure()
configure(
options):Extendable<Options,Storage,ExtensionConfig<Options,Storage> |NodeConfig<Options,Storage> |MarkConfig<Options,Storage>>
Defined in: blockslides/packages/core/src/Extendable.ts:400
Parameters
options
Partial<Options> = {}
Returns
Extendable<Options, Storage, ExtensionConfig<Options, Storage> | NodeConfig<Options, Storage> | MarkConfig<Options, Storage>>
extend()
extend<
ExtendedOptions,ExtendedStorage,ExtendedConfig>(extendedConfig):Extendable<ExtendedOptions,ExtendedStorage>
Defined in: blockslides/packages/core/src/Extendable.ts:417
Type Parameters
ExtendedOptions
ExtendedOptions = Options
ExtendedStorage
ExtendedStorage = Storage
ExtendedConfig
ExtendedConfig = ExtensionConfig<ExtendedOptions, ExtendedStorage> | NodeConfig<ExtendedOptions, ExtendedStorage> | MarkConfig<ExtendedOptions, ExtendedStorage>
Parameters
extendedConfig
Partial<ExtendedConfig> = {}
Returns
Extendable<ExtendedOptions, ExtendedStorage>