naive-ui/vue3.md
2020-09-19 00:10:16 +08:00

2.7 KiB

last cherry-picked commit: 4c6b3822293252d461b0a0f3b18b7d2b40bdcf8b

zindexable 最好写成 directive placeable 进行了大调整

  • form
  • affix
  • alert
  • anchor
  • auto-complete
  • avatar
  • back-top
    • new
      • show controlled show
      • on-update:show
      • to teleport target
    • deprecate
      • on-show => on-update:show
      • on-hide => on-update:show
      • target => listen-to
  • badge
  • breadcrumb
  • button
  • button-group
  • card
  • cascader
  • checkbox
  • code
  • collapse
    • deprecate
      • on-expanded-names-change => on-update:expanded-names
    • removed
      • v-model => v-model:expanded-names
  • config-consumer
  • config-provider
  • confirm
  • data-table
  • date-picker
  • descriptions
  • divider
  • drawer
  • dropdown
  • dynamic-input
  • dynamic-tags
  • element
  • empty
  • gradient-text
  • grid
  • icon
  • input
  • input-group
  • input-group-label
  • input-number
  • layout
  • list
  • loading-bar
  • log
  • menu
    • new
      • popover-body-style
    • deprecate
      • on-expanded-names-change => on-update:expanded-keys
      • on-select => on-update:model-value
      • expanded-names => expanded-keys
      • default-expanded-names => default-expanded-keys
      • item.name => item.key
      • item.titleExtra => item.extra
    • remove
      • overlay-width
      • overlay-min-width
  • message
    • rewrite message using n-message-provider
    • deprecate
      • onHide => onLeave
      • onAfterHide => onAfterLeave
    • remove
      • message.hide => message.destroy
  • modal
    • rewrite with teleport
    • new
      • display-directive
    • deprecate
      • v-model
      • on-show => on-update:show
      • on-hide => on-update:show
      • overlay-style => body-style
    • remove
      • default hide behavior for preset
  • notification
    • deprecate
      • open => create
      • onHide => onLeave
      • onAfterShow => onAfterEnter
      • onAfterHide => onAfterHide
  • pagination
  • popconfirm
  • popover
    • new
      • default-show
    • deprecate
      • v-slot:activator => v-slot:trigger
      • overlay-xxx => body-xxx
    • remove
      • controller
      • max-width
      • width
      • min-width
      • manual trigger is removed, use null instead
  • popselect
  • progress
  • radio
  • result
  • scrollbar
  • select
  • slider
  • spin
  • statistic
  • steps
  • switch
    • remove
      • value => model-value
      • change => on-update:model-value
  • table
  • tabs
  • tag
  • thing
  • time
  • time-picker
  • timeline
  • tooltip
    • ref
  • transfer
  • tree
  • typography
  • upload