[owncloud-devel] Three Button Option

Vincent Petry pvince81 at owncloud.com
Fri Nov 20 08:42:57 GMT 2015


Hi,

Which three dot menu ? In the files app ?

You can use OCA.Files.fileActions.registerAction() to create new file
actions. See how the text editor does it:
https://github.com/owncloud/files_texteditor/blob/master/js/editor.js#L256
Don't use "setDefault" though.

Cheers,

Vincent

On 11/20/2015 09:32 AM, Richard Parsons wrote:
> Hello
> 
> I'm a new Owncloud app developer, but I've looked at the tutorial and so
> forth.
> 
> When writing an app, how do I get a new option avaliable in the "three dot"
> menu to run some code in my app?
> 
> Many thanks
> Richard
> 
> 
> 
> _______________________________________________
> Devel mailing list
> Devel at owncloud.org
> http://mailman.owncloud.org/mailman/listinfo/devel
> 


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: OpenPGP digital signature
URL: <http://mailman.owncloud.org/pipermail/devel/attachments/20151120/4b36f94a/attachment-0001.sig>


More information about the Devel mailing list