// ****************************************************************************************************************************************************** // * By Dr. Roy C. Davies, March 2023, roy.c.davies@ieee.org // ****************************************************************************************************************************************************** const code = { button1 : ` `, button2 : ` `, complex1 : `
Like
2,048
`, complex2 : ` 2,048 `, buttons : ` {#each items as item} {/each} `, binding: ``, processform: `function processForm (e) { console.log(e.detail); }`, inputfield: ` `, combined: `
`, sending1 : ``, sending2 : ``, yarn: `yarn create vite my-app --template svelte-ts cd my-app yarn yarn add svelte-fomantic-ui`, html : ` `, usage : ` `, update : ` `, embed : `
`, embed2 : ` `, embed3 : `update("vimeo1", {{source : "vimeo", id : "125292332", placeholder : "/images/vimeo-example.jpg"}});`, behavior : ` `, initialize : ` `, update2 : `$('#vimeo1').embed();`, reload : ` <Icon dropdown/> What is a dog?

A dog is a type of domesticated animal. Known for its loyalty and faithfulness, it can be found as a welcome guest in many households across the world.

<Icon dropdown/> What kinds of dogs are there?

There are many breeds of dogs. Each breed varies in size and temperament. Owners often select a breed of dog that they find to be compatible with their own lifestyle and desires from a companion.

<Icon dropdown/> How do you acquire a dog?

Three common ways for a prospective owner to acquire a dog is from pet shops, private owners, or shelters.

A pet shop may be the most convenient way to buy a dog. Buying a dog from a private owner allows you to assess the pedigree and upbringing of your dog before choosing to take it home. Lastly, finding your dog from a shelter, helps give a good home to a dog who may not find one so readily.

`, event: `{ "id": "submit", // The id of the button (in this case, 'submit') "target": { } // The target object }`, items: `items = ["left", "center", "right", "justify"];` } export default code;