Skip to content

Consolidate attribute names #179

Open
@elringus

Description

@elringus
  • Rename [JSImport], [JSExport] and [JSPreferences] to [Import], [Export] and [Preferences] (they're under the Bootsharp namespace, so the context is sufficient)
  • Make [Import] and [Export] applicable to static methods (in addition to assemblies)
  • Remove [JSInvokable], [JSFunction] and [JSEvent] (detect events from imported method name pattern)

This will streamline the API and eliminate confusion with [JSImport] and [JSExport] from System.Runtime.InteropServices.JavaScript, as well as Blazor's [JSInvokable].

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or enhancement

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions