new MetaMixin()
Used as a manager for Meta object. Not meant to be used directly.
- Source:
 
Properties:
| Name | Type | Description | 
|---|---|---|
_meta | 
            
            Object | private attribute which holds Meta object  | 
        
Example
var MyStamp = stampit().compose(MetaMixin);
Methods
- 
    
<static> getMeta()
 - 
    
    
Gets meta from stampit definition.
Returns:
- Type
 - Meta
 
Example
var meta = stampit().compose(MetaMixin).getMeta();
 - 
    
<static> setMeta(meta)
 - 
    
    
Sets meta and returns new stampit definition.
Parameters:
Name Type Description metaMeta instance of Meta object
Returns:
- Type
 - stampit
 
Example
var MyStamp = stampit().compose(MetaMixin).setMeta({}); - 
    
getMeta()
 - 
    
    
Gets meta.
Returns:
- Type
 - Meta
 
Example
var MyStamp = stampit().compose(MetaMixin); var meta = MyStamp().getMeta();
 - 
    
setMeta(meta)
 - 
    
    
Sets meta.
Parameters:
Name Type Description metaMeta instance of Meta object
Returns:
- Type
 - MetaMixin
 
Example
var MyStamp = stampit().compose(MetaMixin); var newObject = MyStamp().setMeta({});