tags-api-preview icon indicating copy to clipboard operation
tags-api-preview copied to clipboard

Tag api preview doesn't go into component mode

Open Hen2609 opened this issue 3 years ago • 0 comments

Marko Version: 5.20.5

Marko Tag API Version: 0.5.0

Details

image This tag doesn't ship interactive code to the client.

Expected Behavior

The tag ships as an interactive component and OnClick sends logs on the browser

Actual Behavior

the button isn't interactive, OnClick isn't sent

Possible Fix

Fixed by adding empty <effect{}/> image

Your Environment

windows 11. npm: 8.9.0 node: 14.15.3 brave browser simulating mobile device

Steps to Reproduce

create the following tag: <tag/test|{ }|> <button onClick(){console.log('hi')}> test </button> </tag> and use it: <test/>

Hen2609 avatar May 29 '22 07:05 Hen2609