tessl install tessl/npm-stencil--core@4.36.0A comprehensive web component compiler that transforms TypeScript and JSX code into standards-compliant web components with complete development toolchain.
Agent Success
Agent success rate when using this tile
75%
Improvement
Agent success rate improvement when using this tile compared to baseline
1.44x
Baseline
Agent success rate without this tile
52%
Build a simple web component that displays a counter and emits custom events. Create E2E tests that listen for and verify these events.
Create a counter-button component that:
counterChanged event each time the count changes, with the new count as the event detailCreate E2E tests that:
counterChanged event when the increment button is clicked and verify it was emitted @testcounterChanged event detail contains the value 1 after one click @testcounterChanged event detail contains the value 3 after three clicks @test/**
* A counter button component that emits events on count changes
*/
export class CounterButton {
/**
* Current count value
*/
count: number;
/**
* Event emitted when counter changes, with the new count as detail
*/
counterChanged: EventEmitter<number>;
}@generates
Provides web component compilation and testing utilities.
@describes