Chat started on July 8, 2023 at 10:15 AM
Hello! I'm your Summon AI assistant. How can I help you today?
10:15 AM
I'd like to know what Summon can do.
10:16 AM
Summon is a Kotlin Multiplatform framework that allows you to write UI code once and deploy it across multiple platforms including web, desktop, and mobile. It's designed to be simple to use while providing powerful features.
10:16 AM
With Summon, you can:
• Create consistent UIs across platforms
• Share business logic between frontend and backend
• Integrate with various frameworks including Quarkus
• Build responsive and accessible applications
10:17 AM
That sounds interesting. Can you show me a simple example?
10:18 AM
Here's a simple example of creating a button with Summon:
Button("Click me") {
onClick { alert("Button clicked!") }
}
This will create a button that shows an alert when clicked, and it will work across platforms.
10:19 AM