Skip to content

Feature/update angular app #19

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

Merged
merged 3 commits into from
Aug 24, 2022
Merged

Feature/update angular app #19

merged 3 commits into from
Aug 24, 2022

Conversation

handcode
Copy link
Member

update angular app, add new custom*Actions properties

this PR requires the feature/angular-options PR

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

- add new widget property options which can be used to set all(?) angularFileMangerApp properties
- define (sane) default for the angularFileMangerApp
- cleanup some unused widget properties
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 0097369 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