Class ops.OpAddMember
Defined in: OpAddMember.js.
| Constructor Attributes | Constructor Name and Description |
|---|---|
|
OpAddMember has 3 required properties:
fullName, color, and imageUrl.
|
| Method Attributes | Method Name and Description |
|---|---|
|
execute(document)
|
|
|
init(data)
|
|
|
spec()
|
Class Detail
ops.OpAddMember()
OpAddMember has 3 required properties:
fullName, color, and imageUrl. Because the
spec does not expose those explicitly right now,
internally these properties are set as
runtime.tr("Unknown Author"), 'black', and "avatar-joe.png"
respectively, if unspecified.
Method Detail
execute(document)
- Parameters:
- {!ops.Document} document
init(data)
- Parameters:
- {!ops.OpAddMember.InitSpec} data
{!ops.OpAddMember.Spec}
spec()
- Returns:
- {!ops.OpAddMember.Spec}
