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

11.0.0 • Public • Published

Timer Module

Timer helps developer to set a specific time for their web apps and doSomething after completed.

Click here for demo

Installation

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

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

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

import {TimerModule} from '@logo-software/timer';

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

Timer Component

Timer library lets your users to know their time in your app. Add the below code to your code stack and give initializer parameters.

app.component.html

<logo-timer
  [timeInMs]="1234567"
  [id]="'myLogoTimer'"
  [title]="'Estimated Time'"
  [cssClasses]="'my-logo-timer-theme'"
  [theme]="'primary'"
  [isCountdown]="true"
  [showIcon]="true"
  [language]="{days: 'Gün', hours: 'Saat', minutes: 'Dk', seconds: 'Sn'}"
  [showProgressBar]="true"
  [autoStart]="true"
  (onTimeCompleted)="sampleOnTimeEnd($event)"
>
</logo-timer>

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

Package Sidebar

Install

npm i @logo-software/timer

Weekly Downloads

1

Version

11.0.0

License

See license in LICENSE file

Unpacked Size

212 kB

Total Files

26

Last publish

Collaborators

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