Jump to content

Recommended Posts

Posted

Hello i just started to make a login/register system and i just get stumbled by a thing...

When i try to call cef.execute and change a data from VueJS component is not working..

Photos: 

https://imgur.com/a/kQ8FzGf

 

I want to change that variable from component because i m using conditional rendering and if showRegister = false => confirm password box will be hide..

Posted
let app = new Vue({
  el: '#your-container-id',
  data: {
    randomString: "hello worlt",
  },
  methods: {
  	//...
  }
});

mp.events.add("correct.grammar", function() {
  yourBrowser.execute("app.randomString = 'Hello World!';");
});

 

  • Like 1

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...