Documentation / @blazetrails/activesupport / Concern
Variable: Concern
constConcern: {[extended]:void;appendFeatures:boolean|void;classMethods:void;included:void;prepended:void;prependFeatures:boolean|void; }
Defined in: packages/activesupport/lib/concern.ts:43
Type Declaration
[extended]()
[extended](
base):void
Parameters
| Parameter | Type |
|---|---|
base | ConcernHost |
Returns
void
appendFeatures()
appendFeatures(
this,base):boolean|void
Parameters
| Parameter | Type |
|---|---|
this | ConcernHost |
base | ConcernHost | AnyClass |
Returns
boolean | void
classMethods()
classMethods(
this,classMethodsModuleDefinition):void
Parameters
| Parameter | Type |
|---|---|
this | ConcernHost |
classMethodsModuleDefinition | (mod) => void |
Returns
void
included()
included(
this,base?,block?):void
Parameters
| Parameter | Type | Default value |
|---|---|---|
this | object | undefined |
base | unknown | null |
block? | (this) => void | undefined |
Returns
void
prepended()
prepended(
this,base?,block?):void
Parameters
| Parameter | Type | Default value |
|---|---|---|
this | object | undefined |
base | unknown | null |
block? | (this) => void | undefined |
Returns
void
prependFeatures()
prependFeatures(
this,base):boolean|void
Parameters
| Parameter | Type |
|---|---|
this | ConcernHost |
base | ConcernHost | AnyClass |
Returns
boolean | void