Commit Graph

8 Commits

Author SHA1 Message Date
Kevin Deng 三咲智子 8a99f903db
style: format html&markdown files (#11531) 2024-08-07 10:57:18 +08:00
underfin b3bdd7046f
test(Transition): more complete transition e2e tests (#1151) 2020-06-25 14:04:23 -04:00
Evan You 9d111f534a test(transition): refactor DOM transition test 2020-05-11 11:52:08 -04:00
underfin 66dd1aaecd
test(Transition): test transition (#1140) 2020-05-07 11:10:28 -04:00
Evan You eee5095692 refactor: rename `<portal>` to `<teleport>`
BREAKING CHANGE: `<portal>` has been renamed to `<teleport>`.

    `target` prop is also renmaed to `to`, so the new usage will be:

    ```html
    <Teleport to="#modal-layer" :disabled="isMobile">
      <div class="modal">
        hello
      </div>
    </Teleport>
    ```

    The primary reason for the renaming is to avoid potential naming
    conflict with [native portals](https://wicg.github.io/portals/).
2020-04-01 21:55:19 -04:00
Evan You c07751fd36 refactor: adjust `createApp` related API signatures
BREAKING CHANGE: `createApp` API has been adjusted.

  - `createApp()` now accepts the root component, and optionally a props
  object to pass to the root component.
  - `app.mount()` now accepts a single argument (the root container)
  - `app.unmount()` no longer requires arguments.

  New behavior looks like the following:

  ``` js
  const app = createApp(RootComponent)
  app.mount('#app')
  app.unmount()
  ```
2020-01-27 16:00:17 -05:00
Evan You b983c68575 test(e2e): avoid relying on CDN + reduce debounce delay 2019-12-11 10:37:03 -05:00
Evan You 46490ac1a5 chore: more examples 2019-12-02 15:22:04 -05:00