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

10 lines
182 B
JavaScript

import Service from '@ember/service';
import Clipboard from 'clipboard';
export default Service.extend({
execute: function(trigger) {
return new Clipboard(trigger);
},
});