Sat Jan 20
12:30 AM
July 2023
May 2023
April 2023
Decembre 2022
Septembre 2022
0



Aún no hay noticias

David

Max

Clara

Lara

Paul

Petter

Joanne

David

Do you want to meet on Sunday
I'll go to London on Sunday, so cannot meet you on Sunday.
The next Tuesday I'm able to meet, do you want to see each other on Tuesday?
Ok, I'm able on Tuesday. Let's meet at 6pm at the sports center.
Sure, find! :)

Max

Hey Max! What's up?
Max? Are u there??
Hello??????
Why you see my messages and you don't answer me!!??
I don't want to be your friend anymore, don't text me!

Clara

Hi! Do u know what do we have to do for French homework?
Yes, in 5 minutes I arrive home and I say you what you have to do for homework.
No problem.
Page 35 exercise 4, 5 and 8.
Thank u very much!!

Lara

Paul

Petter

Joanne

Mon Tue Wed Thu Fri Sat Sun

Select your wallpaper

Tik Tok
Instagram
Twitch
Google Maps
Suika Game
Minecraft
Photoshop
Spotify
                                
// Puedes editar el documento
// Para saltar de línea para escribir pulsa mayus + enter
// Si pulsas solo enter saldrá una línea que queda muy mal

import { tick } from 'svelte';
export function portal(el: HTMLElement, target: HTMLElement | string = 'body') {
  let targetEl: HTMLElement;

  async function update(newTarget: HTMLElement | string) {
    target = newTarget;

    if (typeof target === 'string') {
      targetEl = document.querySelector(target);

      if (targetEl === null) {
        await tick();
        targetEl = document.querySelector(target);
      }

      if (targetEl === null) {
        throw new Error(`No element found matching css selector: "${target}"`);
      }
    } else if (target instanceof HTMLElement) {
      targetEl = target;
    } else {
      throw new TypeError(
        `Unknown portal target type: ${
          target === null ? 'null' : typeof target
        }. Allowed types: string (CSS selector) or HTMLElement.`,
      );
    }
    targetEl.appendChild(el);
    el.hidden = false;
  }

  function destroy() {
    if (el.parentNode) {
      el.parentNode.removeChild(el);
    }
  }

  update(target);

  return {
    update,
    destroy,
  };
}