AngleSharp / AngleSharp.Js

:angel: Extends AngleSharp with a .NET-based JavaScript engine.
https://anglesharp.github.io
MIT License
105 stars 23 forks source link

Allow strings instead of functions #26

Closed FlorianRappl closed 8 years ago

FlorianRappl commented 8 years ago

Some functions, e.g., setTimeout, setInterval, ... (others?) need to support strings as an alternative to functions (these strings will be automatically parsed as functions).

Should AngleSharp have an attribute for such functions? This also works with setting event properties! I guess some of this can be hardcoded in AngleSharp.Scripting.JavaScript.