Skip to content

Request: Samples using script setup in typescript #99

@Cody-Duncan

Description

@Cody-Duncan

I'd like to request code samples that demonstrate this component utilizing the <script setup lang="ts"> tag.

Translating the existing code samples to the new syntax is ok.
If possible to add more samples, examples that demonstrate calling methods and triggering on events in the setup script would be extremely helpful.

I've been trying to translate it into a component that shows the countdown timer in a separate div from a 'start' button, and pressing that button begins the countdown. It's taking a long time to figure out things that would be quick with good samples.

Thanks for your consideration!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions