Skip to content

Control BMB

Weiping Huang edited this page May 26, 2017 · 5 revisions

Boom or re-boom BMB programmatically.

Control BMB

Check the demo for more details.

  1. Boom!
    bmb.boom();
    
  2. Re-Boom!
    bmb.reboom();
    
  3. Boom in an instant!
    bmb.boomImmediately();
    
  4. Re-Boom in an instant!
    bmb.reboomImmediately();
    
  5. Boom when BMB is shown!
    bmb.setAutoBoom(true);
    
    Or in .xml:
    app:bmb_autoBoom="true"
    
  6. Boom in an instant when BMB is shown!
    bmb.setAutoBoomImmediately(true);
    
    Or in .xml:
    app:bmb_autoBoomImmediately="true"