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

Enable type specific default options #574

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Commits on Jun 2, 2018

  1. typeBasedOverrides

    added a feature to include message type specific overrides so that each message of a specific type can have a different default set of options. This supports the same set of options that optionsOverride supports.
    jangajack authored Jun 2, 2018
    Configuration menu
    Copy the full SHA
    648f758 View commit details
    Browse the repository at this point in the history
  2. Allows users to create type specific option sets while maintaining th…

    …e options hierarchy.
    
    -- uses new options object property typeBasedOverrides where typeBasedOverrides is an object
       with child objects of each type that accept the same parameters as overrideOptions
    
    options = {
      typeBasedOverrides: {
        info: {},
        success: {},
        warning: {},
        error: {}
      }
    
    see CodeSeven#571
    jwschram committed Jun 2, 2018
    Configuration menu
    Copy the full SHA
    5f04573 View commit details
    Browse the repository at this point in the history