parent
08a5ff30ca
commit
1281e4a4c9
@ -0,0 +1,15 @@
|
||||
@overflow-prefix-cls: rc-overflow;
|
||||
|
||||
.@{overflow-prefix-cls} {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
max-width: 100%;
|
||||
position: relative;
|
||||
|
||||
&-item {
|
||||
background: rgba(0, 255, 0, 0.2);
|
||||
box-shadow: 0 0 1px black;
|
||||
flex: none;
|
||||
max-width: 100%;
|
||||
}
|
||||
}
|
@ -0,0 +1,3 @@
|
||||
* {
|
||||
box-sizing: border-box;
|
||||
}
|
@ -0,0 +1,46 @@
|
||||
import 'vue';
|
||||
|
||||
type EventHandler = (...args: any[]) => void;
|
||||
|
||||
declare module 'vue' {
|
||||
interface ComponentCustomProps {
|
||||
role?: string;
|
||||
tabindex?: number;
|
||||
// should be removed after Vue supported component events typing
|
||||
// see: https://github.com/vuejs/vue-next/issues/1553
|
||||
// https://github.com/vuejs/vue-next/issues/3029
|
||||
onBlur?: EventHandler;
|
||||
onOpen?: EventHandler;
|
||||
onEdit?: EventHandler;
|
||||
onLoad?: EventHandler;
|
||||
onClose?: EventHandler;
|
||||
onFocus?: EventHandler;
|
||||
onInput?: EventHandler;
|
||||
onClick?: EventHandler;
|
||||
onPress?: EventHandler;
|
||||
onScale?: EventHandler;
|
||||
onCancel?: EventHandler;
|
||||
onClosed?: EventHandler;
|
||||
onChange?: EventHandler;
|
||||
onDelete?: EventHandler;
|
||||
onOpened?: EventHandler;
|
||||
onScroll?: EventHandler;
|
||||
onSubmit?: EventHandler;
|
||||
onSelect?: EventHandler;
|
||||
onToggle?: EventHandler;
|
||||
onConfirm?: EventHandler;
|
||||
onPreview?: EventHandler;
|
||||
onKeypress?: EventHandler;
|
||||
onTouchend?: EventHandler;
|
||||
onClickStep?: EventHandler;
|
||||
onTouchmove?: EventHandler;
|
||||
onTouchstart?: EventHandler;
|
||||
onTouchcancel?: EventHandler;
|
||||
onSelectSearch?: EventHandler;
|
||||
onMouseenter?: EventHandler;
|
||||
onMouseleave?: EventHandler;
|
||||
onMousemove?: EventHandler;
|
||||
onKeydown?: EventHandler;
|
||||
onKeyup?: EventHandler;
|
||||
}
|
||||
}
|
Loading…
Reference in new issue