Skip to content

Conversation

@felipesabino
Copy link

Added default parameters as a Module#config option that is loaded for all instances and can be overrided by directive hmOptions param

This is useful when you have default params for the whole module, then they can be added in config time, instead of being added for each directive implementation, like the following

myApp.config(function(hmOptionsProvider) {
  hmOptionsProvider.defaults.options = {
    drag: false,
    transform: false
  }
});

… all instances and can be overrided by directive hmOptions param
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