Skip to content

While routing to /main url, button onmousedown event not working under "Write zero JavaScript" panel #22

Description

@aspnetlearner

kernel.js file is not mapped with /main

app.MapGet("/main", async context =>
{
    var pipeWriter = context.Response.BodyWriter;

    pipeWriter.Write($"{ui.Wat(vm)}");

    await pipeWriter.FlushAsync();
});

The Increment method not incrementing Count value in Button Text

void Increment(Event e)
{
    ViewModel.Count++;
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions