mirror of
https://github.com/cefsharp/CefSharp.git
synced 2026-12-05 11:42:36 +00:00
Pass through property name to Getter
This commit is contained in:
@@ -19,10 +19,10 @@ namespace CefSharp
|
||||
browserProxy->SetProperty(_ownerId, _javascriptProperty->ManagedName, value);
|
||||
};
|
||||
|
||||
Object^ JavascriptPropertyWrapper::GetProperty()
|
||||
Object^ JavascriptPropertyWrapper::GetProperty(String^ memberName)
|
||||
{
|
||||
auto browserProxy = CefAppWrapper::Instance->CreateBrowserProxy();
|
||||
|
||||
return browserProxy->GetProperty(_ownerId, _javascriptProperty->ManagedName);
|
||||
return browserProxy->GetProperty(_ownerId, memberName);
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user