Skip to content

Feature Request - Add Javascript CefSharp.PostMessage #2775

@amaitland

Description

@amaitland

There are lots of cases when you don't need to explicitly bind an object, you just wish to pass some message data back to the browser. This will be added to every V8Context, so will be immediately available for javascript execution.

  • Add .Net event
  • Add CefSharp.PostMessage javascript method.
  • Add detailed example to this issue
CefSharp.PostMessage(message);

I'm thinking we won't impose a strict message structure, will use the current conversion from Javascript->C# so whatever data types you can transfer now will be supported.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions