@angular2-material/button

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

Install

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

Overview

Angular 2 Material button

Index

Classes

class MdAnchor

class MdAnchor extends MdButton {}

    constructor

    constructor(elementRef: any, renderer: any);

      property disabled

      disabled: boolean;

        property isAriaDisabled

        readonly isAriaDisabled: string;

          property tabIndex

          readonly tabIndex: number;

            class MdButton

            class MdButton {}

              constructor

              constructor(_elementRef: any, _renderer: any);

                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: () => any;

                            Package Files (2)

                            Dependencies (0)

                            No dependencies.

                            Dev Dependencies (0)

                            No dev dependencies.

                            Peer Dependencies (1)

                            Badge

                            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
                              [![jsDocs.io](https://img.shields.io/badge/jsDocs.io-reference-blue)](https://www.jsdocs.io/package/@angular2-material/button)
                            • 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>