Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import View from './view';
- import Model from './model';
- import Controller from './controller';
- export default class Tooltip {
- constructor(options) {
- this.model = new Model();
- this.controller = new Controller(this.model);
- this.view = new View(this.controller, options);
- }
- show() {
- this.controller.show();
- }
- hide() {
- this.controller.hide();
- }
- }
Add Comment
Please, Sign In to add comment