Kyle Tse

Results 53 issues of Kyle Tse

for now, we need to put a function to modify the rules. ```js service.remove( function (node, options) { return ( options.linkStyle === 'inlined' && node.nodeName === 'A' && node.getAttribute('href') )...

### Describe the bug `load` get the existing element https://github.com/vueuse/vueuse/blob/8b21ca203adcc7e3bbc6e31e49d07803cb0b19b7/packages/core/useScriptTag/index.ts#L101 `unload` deletes the element https://github.com/vueuse/vueuse/blob/8b21ca203adcc7e3bbc6e31e49d07803cb0b19b7/packages/core/useScriptTag/index.ts#L174-L176 If there is two component using the same script, the child component will remove the...

### Clear and concise description of the problem Sometimes, we want to select an element from document but it may not exist or will changes in some time. We need...

enhancement

### Describe the bug this reactive function is missing setter. we can set, but nothing happened. https://github.com/vueuse/vueuse/blob/dc3ebe80bc61ee56004fdcd417cb234ee749e41e/packages/core/useWindowScroll/index.ts#L12-L36 should we watch the ref changed and call `window.scrollTo` correspondingly? ### Reproduction 1....

stale

### Clear and concise description of the problem `ComputedWhenver` is useful for the usage of `Vue-apollo` which will trigger `undefined` on `result` while loading. Sometimes we only need the truthy...

enhancement

### Describe the bug https://github.com/vueuse/vueuse/blob/ef6cf56cfde1e41cead37ccda48cde68f89ec931/packages/core/useImage/index.ts#L22-L29 we are adding listeners after setting `iamge.src` on the image object. it might cause the image being loaded and triggered `onloaded` and `onerror` before listening...

```ts const sidePanelContent = ref() const { x: windowX, y: windowY } = useWindowScroll() const { width, height } = useWindowSize() const { x, y, top, right, bottom, left }...

for the current implementation ``` export function from(): IEnumerable; export function from(obj: Array): IEnumerable; export function from(obj: IEnumerable): IEnumerable; export function from(obj: number): IEnumerable; export function from(obj: boolean): IEnumerable; export...

IDictionary saves my life while js object doesn't support non-string key. it works well but it seems missing IDictionary.key and IDictionary.values. I only can get the keys or values from...

It works well in node module folder. but failed to import in non node module folder on Windows. ### for setting: ``` generator typegraphql { provider = "typegraphql-prisma" output =...

question