Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature/preview callback #29

Merged
merged 2 commits into from
Aug 24, 2022
Merged

Feature/preview callback #29

merged 2 commits into from
Aug 24, 2022

Conversation

handcode
Copy link
Member

this PR adds new optional previewUrl callback to be able to define/overwrite the url used for the file previews within filemanagerApp.
works more or less like the thumbnail callback property.

will be used in new filemanger-widget version (at work).

handcode added a commit to dmstr/yii2-filemanager-widgets that referenced this pull request Aug 19, 2022
the new custom*Actions properties can be used to customise the app "from outside"
- with the new options one can inject custom item actions for files and dirs
- the keys define the "action names" that will be displayed in the item context menu
- the values define a JS func name that will be called from within the global window scope with the item prototype as argument
- useful (required?) to create custom actions for e.g. ck-editor filebrowser plugins

other updates/changes in angular app
- if defined use new item.model.preview as preview URL (see dmstr/yii2-filefly-module#29)
- cleanups, gulp rebuild (sorry for the format changes....)
@handcode handcode merged commit f5660cf into master Aug 24, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant