Guest User

Untitled

a guest
Jun 22nd, 2018
82
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.37 KB | None | 0 0
  1. import View from './view';
  2. import Model from './model';
  3. import Controller from './controller';
  4.  
  5. export default class Tooltip {
  6. constructor(options) {
  7. this.model = new Model();
  8. this.controller = new Controller(this.model);
  9. this.view = new View(this.controller, options);
  10. }
  11.  
  12. show() {
  13. this.controller.show();
  14. }
  15.  
  16. hide() {
  17. this.controller.hide();
  18. }
  19. }
Add Comment
Please, Sign In to add comment