书栈网 · BookStack 本次搜索耗时 0.015 秒,为您找到 221 个相关结果.
  • Overview

    The single-spa ecosystem Version: 5.x The single-spa ecosystem The single-spa ecosystem is quickly growing to support as many frameworks and build tools as possible. There is ...
  • If blocks

    423 2019-06-18 《Svelte Document》
    If blocks If blocks HTML doesn’t have a way of expressing logic, like conditionals and loops. Svelte does. To conditionally render some markup, we wrap it in an if block: {...
  • Declaring props

    488 2019-06-18 《Svelte Document》
    Declaring props Declaring props So far, we’ve dealt exclusively with internal state — that is to say, the values are only accessible within a given component. In any real app...
  • Stepper

    Stepper Svelte Component Stepper Components Stepper Properties Stepper Events Stepper Methods Examples Stepper Svelte Component Stepper Svelte component represents Stepp...
  • Writable stores

    475 2019-06-18 《Svelte Document》
    Writable stores Writable stores Not all application state belongs inside your application’s component hierarchy. Sometimes, you’ll have values that need to be accessed by mult...
  • Adding parameters

    402 2019-06-18 《Svelte Document》
    Adding parameters Adding parameters Transition functions can accept parameters. Replace the fade transition with fly … <script> import { fly } from 'svelte/tran...
  • App Layout

    App Layout Basic Layout Advanced Layout Initialize App App Layout First thing we should do for our App is to create index.html file with app’s skeleton. <!DOCTYPE html> <...
  • Inline handlers

    401 2019-06-18 《Svelte Document》
    Inline handlers Inline handlers You can also declare event handlers inline: <div on:mousemove = "{e => m = { x: e.clientX, y: e.clientY }}"> The mouse position is {m...
  • Tabs

    Tabs Svelte Component Tabs Components Tabs Properties Tabs Methods Tabs Events Switch Tabs Examples Static Tabs Animated Tabs Swipeable Tabs Tabs Svelte Component Ta...
  • Event modifiers

    511 2019-06-18 《Svelte Document》
    Event modifiers Event modifiers DOM event handlers can have modifiers that alter their behaviour. For example, a handler with a once modifier will only run a single time: <s...