IMods

types.IMods

Hierarchy

Implemented by

mods

mods: IDictionary<ModType>

Defined in

src/types/traits.d.ts#28

setMod

setMod<T>(this, name, value): T

Set/remove modification (null - remove)

Type parameters

Name Type
T extends IComponent<IViewBased<IViewOptions>> & IContainer & IMods

Parameters

Name Type
this T
name string
value ModType

Returns

T

Defined in

src/types/traits.d.ts#20


afterSetMod

afterSetMod(name, value): void

Parameters

Name Type
name string
value ModType

Returns

void

Defined in

src/types/traits.d.ts#25


getMod

getMod(name): ModType

Parameters

Name Type
name string

Returns

ModType

Defined in

jodit/src/types/traits.d.ts:27