Skip to content

Animated Text

Olivier Carpentier edited this page Feb 27, 2017 · 4 revisions

Animated Text Web Part Overview

The Animated Text Web Part is a SharePoint client side web part built with the SharePoint Framework (SPFx).

This web part adds a text with an animated effect. This project uses the JQuery plugin letterfx.js This web part uses also the Custom Fields library to enhance the web part edition experience.

Thanks to this WP, you can insert your text, choose an effect, change the timing or the duration and modify the layout as font, size, color, etc.

AnimatedText

Properties

You can manage the following settings:

  • text: sets your text
  • effect: sets the text effect, can be spin, fade, grow, smear, fall, swirl, wave, fly-top, fly-bottom, fly-left or fly-right
  • effectDirection: defines the direction. Can be forward or backward
  • timing: timing in ms
  • duration: duration in ms
  • letterEnd: defines the state of a letter at the end. Can be restore, stay, destroy or rewind
  • elementEnd: defines the state of an element at the end. Can be restore, stay or destroy
  • align: defines the text align, can be left, center or right
  • font: specifies the font family as Arial, Verdana, etc.
  • size: sets the font size
  • color: sets the font color
  • backgroundColor: sets the background color

Screenshots

3DCarousel

Installing the web part

Click here to access to the Installation Process. You can install and test this web part without compiling the code by following this procedure.

Source Code

https://github.com/OlivierCC/spfx-40-fantastics/tree/master/src/webparts/animatedText

Minimal Path to Awesome

  • Clone this repository
  • in the command line run:
    • npm install
    • gulp serve

Version history

Version Date Comments
1.0 September 2016 Initial release

Solution

Solution Author(s)
spfx-40-fantastics Olivier Carpentier (@olivierc)

The MIT License (MIT)

Copyright (c) 2016 Olivier Carpentier

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Clone this wiki locally