cn-dialog

Props

title

Sets the title of the dialog

open

Opens the dialog, matches programmatically the dialog state

returnValue

Matches the html dialog functionality

Functionality

CyanDialog.close() is used to close the dialog. This also sets a CyanDialog.returnValue and dispatches a close Event.

Hi!

I'm a dialog?

Do you want to close me?

The sun dipped below the horizon, painting the sky with vibrant hues of orange and pink. A gentle breeze rustled the leaves of the nearby trees, carrying the sweet scent of wildflowers. The world seemed to hold its breath, savoring the tranquil beauty of the moment.

An Elevated section in the middle of a dialog

In a bustling city filled with towering skyscrapers and endless traffic, a lone street musician played a melancholic melody on his violin. Passersby paused momentarily, captivated by the haunting notes that echoed through the concrete jungle. Each note seemed to tell a story of longing, loss, and the fleeting nature of time.

A mischievous cat perched on a windowsill, its eyes fixated on a fluttering butterfly in the garden below. With a playful swish of its tail, the cat leaped from the windowsill, landing gracefully on the soft grass. It stalked the butterfly, its movements fluid and precise, until finally pouncing with a triumphant meow.

Deep in the heart of an ancient forest, a hidden waterfall cascaded down moss-covered rocks, its crystal-clear water shimmering in the sunlight that filtered through the dense canopy of leaves. The air was filled with the soothing sound of rushing water and the chirping of unseen birds, creating a symphony of nature's tranquility.

A weathered old book lay open on a dusty shelf, its pages filled with faded ink and intricate illustrations. The book whispered stories of forgotten kingdoms, brave adventurers, and magical creatures. As a curious reader turned the pages, the book seemed to come alive, transporting them to worlds beyond imagination.

In a bustling marketplace, a skilled artisan carefully crafted intricate jewelry, each piece a testament to their creativity and passion. The delicate silver earrings sparkled in the light, while the colorful gemstone necklace seemed to hold the secrets of distant lands. Each creation was a work of art, waiting to be discovered and cherished.

A lone sailboat drifted across a calm sea, its white sails billowing in the gentle breeze. The sun dipped below the horizon, painting the sky with vibrant hues of orange, pink, and purple. The world seemed to hold its breath, savoring the peaceful beauty of the moment as the stars began to twinkle in the darkening sky.