承接 pluswerk/timeline 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

pluswerk/timeline

Composer 安装命令:

composer require pluswerk/timeline

包简介

Pluswerk: HTML to PDF

README 文档

README

This extension adds the possibility to create dynamic timelines for your TYPO3 project.

image

Usage

You can create timeline-records inside of a storage folder. A timeline-record contains epochs, which define a timerange each. Inside of an epoch you can create moments, which are getting displayed in the frontend via tooltip.

To view your timeline in frontend you simply create the "Timeline"-Plugin and select the timelines you want to see.

Assets

You may include the SCSS and JavaScript files from this Extension. We provide popper.js with polyfills for IE11-usage.

includeJSFooter.popper = EXT:timeline/Resources/Public/JavaScript/popper.js
includeJSFooter.timeline = EXT:timeline/Resources/Public/JavaScript/timeline.js

Include the scss-file in your bundler.

/path/to/timeline/Resources/Private/Scss/Timeline.scss

Otherwise you can write your own styles and scripts to match your design.

Images

You can export your timeline as image (experimental). Therefore the library html2canvas is being used. Import it like this:

includeJSFooter.html2canvas = EXT:timeline/Resources/Public/JavaScript/htmltocanvas.js

You can edit the template and JavaScript like this to print your image to the website (and download it as jpg/png):

<button class="js-to-image">To image</button>
var button = document.querySelector('.js-to-image');
  button.addEventListener('click', function () {
    var line = document.querySelector('.js-timeline');
    html2canvas(line).then(function (canvas) {
      document.body.appendChild(canvas);
    });
  });

统计信息

  • 总下载量: 24
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 1
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 1
  • Watchers: 2
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: GPL-2.0-or-later
  • 更新时间: 2020-06-16

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固