blessed-vue icon indicating copy to clipboard operation
blessed-vue copied to clipboard

Expose screen as a global on the vm

Open geiseri opened this issue 7 years ago • 2 comments

There are a few cases that I need to be able to get access to "screen", so I have this code all over the place where I take this.$el.elm.screen. Is there a way that we can expose this.$screen that would shortcut that?

geiseri avatar Feb 04 '18 15:02 geiseri

that I don't know for the moment. Will need to take some time to find some options.

lyonlai avatar Feb 06 '18 09:02 lyonlai

@geiseri This can be achieved with a global vue mixin

gtarsia avatar Mar 26 '19 04:03 gtarsia