What do you want to save?
Add Code snippet
New code examples
-
C# 2021-08-29 15:46:01
c# check if string is path or file
// get the file attributes for file or directory FileAttributes attr = File.GetAttributes(@"c:\Temp"); //detect whether its a directory or file if ((attr & FileAttributes.Directory) == FileAttributes.Directory) MessageBox.Show("Its... Add solution -
Javascript 2021-08-29 14:04:02
dragula filter
// change dagrula.provider.ts: drake.on('drag', (el: any, source: any) => { dragElm = el; dragIndex = (el.getAttribute('filter-index')) ? +el.getAttribute('filter-index') : this.domIndexOf(el, source); }); HTML: <div [dragula]='dragType' [d... Add solution