UNPKG

abstract-things

Version:

Base for building libraries that interact with physical things, such as IoT-devices

13 lines (10 loc) 232 B
'use strict'; const Thing = require('../thing'); /** * Marker for lights that support a full color range. */ module.exports = Thing.mixin(Parent => class extends Parent { static get capability() { return 'color:full'; } });