@logo-software/switch
TypeScript icon, indicating that this package has built-in type declarations

11.0.0 • Public • Published

Switch Module

Switch toggle provides display checked/unchecked (On/Off) state on the button. Comes with the following properties.

  • Color
  • Size
  • Shape

Click here for demo

Installation

All public npm packages of Logo Software is at https://www.npmjs.com/~logofe. To install Switch Module:

$ npm set registry https://registry.npmjs.org/
$ npm install @logo-software/switch -s

Just import it to your project of @NgModule import section.

@NgModule({
 imports: [CommonModule, SwitchModule],
})
export class AppModule {
}

Switch Component

A switch is a simple component used for activating one of two predefined options. Commonly used as an on/off button.

app.component.html

<logo-switch
  class="medium"
  [theme]="primary"
  [isDisabled]="false"
  [isRounded]="false"
>
</logo-switch>

For API details, please visit http://design.logo.com.tr/#/docs/components/components-overview

Dependencies (2)

Dev Dependencies (0)

    Package Sidebar

    Install

    npm i @logo-software/switch

    Weekly Downloads

    1

    Version

    11.0.0

    License

    See license in LICENSE file

    Unpacked Size

    129 kB

    Total Files

    18

    Last publish

    Collaborators

    • furkan.cetin
    • yusufyilmaz
    • serdarates
    • gamzeyapici
    • srknc
    • dotnet-ankara
    • murat.logo
    • serhan.gurbuz
    • gulnihaleksi