Skip to content

Expose JS function outside of SDK #31891

Closed
@ranquild

Description

@ranquild

What do you think about exposing JS function outside of SDK code? This is very useful optimization, can be used by framework-level code.

JS('var', '#[#]', this, index);

Kotlin does this already https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.js/js.html

Metadata

Metadata

Assignees

No one assigned

    Labels

    area-core-librarySDK core library issues (core, async, ...); use area-vm or area-web for platform specific libraries.area-web-jsIssues related to JavaScript support for Dart Web, including DDC, dart2js, and JS interop.closed-as-intendedClosed as the reported issue is expected behaviortype-enhancementA request for a change that isn't a bugweb-js-interopIssues that impact all js interop

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions