New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

mofron-comp-accordion

Package Overview
Dependencies
Maintainers
1
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mofron-comp-accordion

accordion component for mofron

  • 0.1.1
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
2
increased by100%
Maintainers
1
Weekly downloads
 
Created
Source

mofron-comp-accordion

Accordion WebUI Component for mofron

Install

npm install --save-dev mofron

Quick Start

require webpack

<html>
    <head></head>
    <body style="margin:0px;padding:0px;"></body>
    <script src='./path/to/webpack/output.js'></script>
</html>

example

require("mofron");
require("mofron-comp-accordion");

var acd = new mofron.comp.Accordion();

acd.add('Header 1', new mofron.comp.Text('Test Contents 1'));
acd.add('Header 2', new mofron.comp.Text('Test Contents 2'));
acd.add('Header 3', new mofron.comp.Text('Test Contents 3'));

acd.visible(true);

#class specification

MethodParameterDescription
addstring : header title
object : Component
add contents
removenumber : contents indexdisabled target contents
changeEventfunction : function for change eventset change event function
statenumber : contents indexstate of target contents
true : target contents is open
false : target contents is closed

Keywords

FAQs

Package last updated on 30 Dec 2018

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc