生日快乐[给心心]守护者们一起来玩儿吖!//@坎公骑冠剑:B站生日快乐[蛋糕]坎公小骑士携手@坎特伯雷公主求鸡腿 前来送上生日贺礼——游戏内即将开放奖励超多【特别登录活动】!6月26日00:00~7月2日23:59期间登录,共计可获得【钻石*2700💎+体力*100+经验结晶*100000+金币*100000+30级强化锤*1】周年庆福利奖励!
详情活动规则,请关注官方后续动态喔~
//转发自: @哔哩哔哩游戏: #互动抽奖 #哔哩哔哩游戏
bilibili游戏庆贺B站12周岁生日快乐!一大波游戏福利已出发,戳链接:https://game.bilibili.com/2021srkl/ 马上get新情报!参与活动评论,更有周边礼包等你领取 (✧◡✧)
关注+转发此条动态,我们还将于6月28日抽取:3位小伙伴送上哔哩哔哩小电视陶瓷杯(颜色随机),5位送上哔哩哔哩游戏镭射包(颜色随机)
互动抽奖
vuex5 rfc,期待
https://github.com/vuejs/rfcs/pull/271
New hooks let you add custom fields to menu items
https://www.kathyisawesome.com/add-custom-fields-to-wordpress-menu-items/
A Vue3 HTMLElement Resize observer hook:
import { ref, watch, Ref } from 'vue'
import ResizeObserver from 'resize-observer-polyfill'
export interface UseResizeObserver {
width: number
height: number
top: number
left: number
element?: Element
}
export default function (elementRef: Ref<Element | null>) {
const state: Ref<UseResizeObserver> = ref({
width: NaN,
height: NaN,
top: NaN,
left: NaN,
element: undefined,
})
const ro = new ResizeObserver((entries, observer) => {
for (const entry of entries) {
const { left, top, width, height } = entry.contentRect
state.value = { width, height, top, left, element: entry.target }
}
})
watch(elementRef, (element) => {
if (element) ro.observe(element)
})
return state
}
TODO: add method of watch all inputs in one observer, maybe should use a constructor
Chinese 🇨🇳 / Dictatorial Admin / Mastodon Code Contributor / 摸鱼技术布道师
Steam: https://steamcommunity.com/id/MashiroBest
Epic: https://store.epicgames.com/en-US/u/d211c824cbd94aaeba898db6bb823ff7
原批交流群:966322309