salix/front/core/mocks/popover.js

26 lines
432 B
JavaScript
Raw Normal View History

2020-02-26 06:02:03 +00:00
const popover = {
show: () => {
return {
then: callback => {
callback();
}
};
},
hide: () => {
return {
then: callback => {
callback();
}
};
},
relocate: () => {
return {
then: callback => {
callback();
}
};
}
};
module.exports = popover;