How to set data from slot-scope to component


I have some problems with slot-scope ,

    <div slot-scope="{someMethod, someData}">
      // the problem is i need someMethod in my current component, not in template

export default {
 created() {
   // i need to access someMethod and someData here

Is it possible? What is the best practice way?


That’s not possible.