摘要:
组件是不确定的,是一个变量传入的,可以使用如下方法渲染 export function insertModal(cfg){ let {id,refKey,modal} = cfg; let ModalKey = modal || 'Modal'; id = id || +new Date(); le 阅读全文
摘要:
FLIP是一种助记缩写也是一种 Paul Lewis首创 的技术, 代表 First, Last, Invert, Play。 他的文章包含了对这一技术的一个很好的解释,但我会在这里概括一下: First 记录元素动画前的位置和尺寸Last 记录元素动画后的位置和尺寸,可以直接修改style,让元素 阅读全文