npm.io
1.0.29 • Published 2 years ago

exc-controls

Licence
Version
1.0.29
Deps
1
Size
5.2 MB
Vulns
0
Weekly
0

Documentation

Module Exc-Controls

The Exc-Controls module provides some custom controls, interfaces and services, validators and classes for creating an web application in our default behavior.

Controls

lib-exc-accordion
Example
<lib-exc-accordion #acc1 [singleMode]="true">
  <lib-exc-accordion-panel label="panel1" [checked]="true"></lib-exc-accordion-panel>
  <lib-exc-accordion-panel label="panel2"></lib-exc-accordion-panel>
  <lib-exc-accordion-panel label="panel3"></lib-exc-accordion-panel>
</lib-exc-accordion>
import {ViewChild} from '@angular/core'; 
import {ExcAccordionComponent} from 'exc-controls';
//...
export class CustomComponent{
  @ViewChild('acc1',{read:ExcAccordionComponent}) acc1:ExcAccordionComponent;

  close(){
    this.acc1.closeAll();
  }
}
Input
Name Type Description
singleMode Boolean Property to only allow one open accordion panel simultaneously (default:true)
Output
@Viewchild-Instance
Name Type / Return Type Description
closeAll() method / void Close all open accordion panels
open(targetIndex:number,open:bool) method / void Opens the accordion panel with the given index
lib-exc-accordion-panel
Example

See example of lib-exc-accordion

Input
Name Type Description
label String The label of the panel
checked Boolean Determines if this panel should be open
Output
exc-action-list
Input
Output
exc-action-list-small
Input
Output
exc-chips
Input
Output
exc-comment
Input
Output
exc-history
Input
Output
exc-library
Input
Output
exc-list
Input
Output
exc-modal
Input
Output
exc-quick-glance
Input
Output
exc-responsive
Input
Output
exc-signature
Input
Output
exc-signature-pad
Input
Output
exc-slider-horz
Input
Output
exc-sort-helper
Input
Output
exc-tablelist
Input
Output
exc-viewer
Input
Output
exc-flip-card
Input
Output
exc-flip-card-site
Input
Output
exc-checkbox
Input
Output
exc-datepicker
Input
Output
exc-icon-toggle
Input
Output
exc-input
Input
Output
exc-multi-state-checkbox
Input
Output
exc-output
Input
Output
exc-radio
Input
Output
exc-select
Input
Output
exc-textarea
Input
Output
exc-section
Input
Output
exc-section-group
Input
Output
Services
Interfaces