open-consul/ui/packages/consul-ui/app/services/clipboard/os.js

10 lines
186 B
JavaScript

import Service from '@ember/service';
import Clipboard from 'clipboard';
export default class OsService extends Service {
execute(trigger) {
return new Clipboard(trigger);
}
}