[docs] fixes formatting in Component.ts

pull/7235/head
ehsan 5 years ago
parent 5864570d5e
commit ebf4054e7f

@ -239,12 +239,12 @@ export class SvelteComponent {
$$set?: ($$props: any) => void; $$set?: ($$props: any) => void;
/** /**
* *
* ```ts * ```ts
* component.$destroy() * component.$destroy()
* ``` * ```
* *
* Removes a component from the DOM and triggers any `onDestroy` handlers. * Removes a component from the DOM and triggers any `onDestroy` handlers.
* *
*/ */
$destroy() { $destroy() {
destroy_component(this, 1); destroy_component(this, 1);

Loading…
Cancel
Save