applait / finderjs

Finder and file picker library for Firefox OS
http://finder.js.org
MIT License
14 stars 7 forks source link

Method to set up a specific path #19

Closed devforfu closed 7 years ago

devforfu commented 7 years ago

Is it possible to add a functionality that will allow to preset a specific path into FinderJS view? I mean, suppose we have the following "directory tree" (i.e. object):

+ root
     |
     + -- dir1
     + -- dir2
           |
           + -- file.txt

Then, we can do something like:

var finder = createFinderJS();
finder.navigate('/dir2/file.txt');

And FinderJS will navigate to this path like if one do it manually using mouse or keyboard. Or, if it is not planned, could you please give a tip how to introduce this functionality manually?

devforfu commented 7 years ago

Oops, wrong repo >_<

Sorry, I was asking about another library.

kaustavdm commented 7 years ago

Heh, I guess the name is confusing enough :stuck_out_tongue: