Daybrush (Younkue Choi)

Results 714 comments of Daybrush (Younkue Choi)

@mtiger95 what you're saying is like this https://daybrush.com/selecto/release/latest/doc/Selecto.html#getSelectableElements https://daybrush.com/selecto/release/latest/doc/Selecto.html#getSelectedTargets

@Arjanno It is not blocking the click, but blocking the drag. In the dragStart event, if the target is a button, call stop(). ```js onDragStart={e => { if (e.inputEvent.target.tagName ===...

@dhiman11 Try this method ```js [["meta", "ctrl"]] ``` ``` :toggleContinueSelect="[["meta", "ctrl"]]" ```

@WilliamFocus Change the state when last. ```jsx const [items, setItems] = React.useState(() => getItems(0, 10)); const [last, setLast] = React.useState(false); return ( { const nextGroupKey = (+e.groupKey! || 0) +...

@JigarPrajpati You can use it by transpiling the react jsx code. See https://codepen.io/daybrush/pen/JjXmbmb Other frameworks / pure, vanilla demos are in preparation. Let's try to make it possible to support...

@JigarPrajpati 1. this is result of jsx transpile. ```tsx const Editable = ({ name: "editable", props: {}, events: {}, render(moveable, Renderer) { const rect = moveable.getRect(); const { pos2 }...

@JigarPrajpati No problem with the code. Check out this demo. https://codepen.io/daybrush/pen/OJZxrzm

@JigarPrajpati 1. It can be used with syntax similar to React JSX. I used tagged-jsx and it would be easier to type ``. https://www.npmjs.com/package/tagged-jsx https://codepen.io/daybrush/pen/OJZxrzm?editors=1010 2. Use CSS.

@JigarPrajpati You can get the position and size of the moveable through getRect. The demo's editable position is on the right. Calculate top, center through it. https://daybrush.com/moveable/release/latest/doc/Moveable.html#.RectInfo

@JoseCanulEI Reverse is added when up/down or left/right is reversed like `scale(-1, 1)`. Could I see some demo code or screenshots?