lexakami/silverstripe-lottie 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

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

lexakami/silverstripe-lottie

Composer 安装命令:

composer require lexakami/silverstripe-lottie

包简介

Add SVG animations into your web projects with ease using Lottie and bodymovin.js

README 文档

README

This module aims to streamline the processs to add SVG animations into your projects.

Uses Lottie and the bodymovin.js library to create lightweight SVG animations for the web, from a JSON file exported from After Effects using the Bodymovin extension.

Installation

composer require lexakami/silverstripe-lottie

Usage

You will need:

  • A JSON file of the animation exported from After effects - Step by step walkthrough on creating compatible animations.

Create an animation under the Animations tab in the CMS and upload your JSON animation file.

Place in the template by using the Lottie include, specifying the name of the animation.

<% include Lottie Name="My Animation Name" %>

TODO

  • Upgrade to be SS4 compatible
  • Interactions (on click etc)
  • Fallback to static image for non SVG supported browsers and devices
  • Permissions on json files
  • CMS JSON upload
  • CMS editable attributes for each animation
  • Accessibility

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: BSD-3-Clause
  • 更新时间: 2018-03-15

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固