Home > blockly > IVariableModel
IVariableModel interface
Signature:
export interface IVariableModel<T extends IVariableState>
Methods
| Method | Description |
|---|---|
| getId() | |
| getName() | |
| getType() | Returns the type of the variable like 'int' or 'string'. Does not need to be unique. This will default to '' which is a specific type. |
| getWorkspace() | |
| save() | |
| setName(name) | |
| setType(type) |