• Version 2.0.0-alpha.8-3
  • Published
  • No dependencies
  • MIT license


npm i @angular2-material/button
yarn add @angular2-material/button
pnpm add @angular2-material/button


Angular 2 Material button



class MdAnchor

class MdAnchor extends MdButton {}


    constructor(elementRef: ElementRef, renderer: Renderer);

      property disabled

      disabled: boolean;

        property isAriaDisabled

        readonly isAriaDisabled: string;

          property tabIndex

          readonly tabIndex: number;

            class MdButton

            class MdButton {}


              constructor(_elementRef: ElementRef, _renderer: Renderer);

                property color

                color: string;

                  property disableRipple

                  disableRipple: boolean;
                  • Whether the ripple effect on click should be disabled.

                  method focus

                  focus: () => void;
                  • TODO(hansl): e2e test this function.

                  method getHostElement

                  getHostElement: () => any;

                    method isRippleEnabled

                    isRippleEnabled: () => boolean;

                      method isRoundButton

                      isRoundButton: () => any;

                        class MdButtonModule

                        class MdButtonModule {}

                          method forRoot

                          static forRoot: () => ModuleWithProviders;

                            Package Files (2)

                            Dependencies (0)

                            No dependencies.

                            Dev Dependencies (0)

                            No dev dependencies.

                            Peer Dependencies (1)


                            To add a badge like this onejsDocs.io badgeto your package's README, use the codes available below.

                            You may also use Shields.io to create a custom badge linking to https://www.jsdocs.io/package/@angular2-material/button.

                            • Markdown
                            • HTML
                              <a href="https://www.jsdocs.io/package/@angular2-material/button"><img src="https://img.shields.io/badge/jsDocs.io-reference-blue" alt="jsDocs.io"></a>