Socket
Socket
Sign inDemoInstall

@therapychat/content-splitter

Package Overview
Dependencies
0
Maintainers
3
Versions
4
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @therapychat/content-splitter

`<content-splitter>` is a text presentation component developed in Vue composed by a menu, a pager and a content area including a header with or without an image and a content text. It sets a fixed height in order to present large contents in a small area


Version published
Weekly downloads
0
decreased by-100%
Maintainers
3
Created
Weekly downloads
 

Changelog

Source

v0.2.2 - 2018-09-21

Fixed

  • Fixed Changelog
  • Added dist for npm

Readme

Source

content-splitter

<content-splitter> is a text presentation component developed in Vue composed by a menu, a pager and a content area including a header with or without an image and a content text. It sets a fixed height in order to present large contents in a small area. It has two versions, a desktop version available for widths larger than 800px that allows selection of one of each existing items, and a mobile version presenting all items stacked in a single column.

Desktop Sample

Mobile Sample

<content-splitter></content-splitter>

<!-- default properties -->
<meta charset="utf-8">
<title>content-splitter demo</title>
<script src="https://unpkg.com/vue"></script>
<!-- Imports polyfill -->
<script src="https://unpkg.com/@webcomponents/webcomponentsjs@2.0.0/webcomponents-loader.js"></script>
<script src="./content-splitter.js"></script>

<content-splitter id="anySelector"></content-splitter>

<script>
  document.querySelector('anySelector').items = [{
    'id': 1,
    'title': 'Any title',
    'headerText': 'Any header text.',
    'headerImg': '',
    'headerPreloadImg': '',
    'contentText': 'Any large text.'
  }]
</script>

Installation

npm install -save content-splitter

License

content-splitter is available under the Apache License 2.0. See the LICENSE file for more info.

Changelog

See CHANGELOG file.

FAQs

Last updated on 21 Sep 2018

Did you know?

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc