An open API service indexing awesome lists of open source software.

https://github.com/simpart/mofron-comp-switch

switch component for mofron
https://github.com/simpart/mofron-comp-switch

Last synced: 6 months ago
JSON representation

switch component for mofron

Awesome Lists containing this project

README

          

# mofron-comp-sw
[mofron](https://mofron.github.io/mofron/) is module based frontend framework.

switching display components by 'switching' function.

switching the display to a specified index number of the child component.

switch in ascending order if it has no parameter.

# Install
```
npm install mofron mofron-comp-sw
```

# Sample
```html

Switch
Button
Click

sw.switching();

On
OFF

```
# Parameter

|Simple
Param | Parameter Name | Type | Description |
|:--------------:|:---------------|:-----|:------------|
| | switchEvent | function | switch event function |
| | | mixed | event parameter |