dacsslide 0.2.1

  • README.md
  • CHANGELOG.md
  • Installing
  • Versions
  • 46

DaCSSlide Build Status

Port of JaCSS - tiny "framework" for building pure CSS3-animation based presentations.

Examples

Advanced usage:

Example

Example could be found in web folder.

In HTML file you need to speicfy "symbols":

<presentation slides="8" class="hidden">
      <symbol id="hello">
        Hello {{world}}
      </symbol>
      <symbol id="center">
        Center
      </symbol>
</presentation>

And in SCSS file you need to specify behaviour (Note: syntax below is using DACSSlide additions to SCSS):

#center {
  opacity:0;
}
.s2 {
  #hello: move(50,100);
   
  #center {
    background-color:red;
    opacity:1;
    ::up(20);
  }
}
.s3 {
  #hello:move(+100,+100);
}
...

Where .sN means behaviour for slide (keyframe) N.

Each symbol can have track property if it can change it's width or height (in case of asynchronously loaded symbols).

Changelog

##0.2.1

Added speaker comments support. Just add

<comment slide="1">Some comment</comment>

##0.2.0

Added possibility to change units. put anywhere

/* dacsslide.units = vmax */

All transform operators will use that units.

BREAKING CHANGE Now if modifier has several parameters but was called with less, it will use last specified parameter (previously it used X-axis). E.g. scale(2) will produce scaleX(2) scaleY(2) and not just scaleX(2) like before. Same for rotate. Please add axis modifier to have previous behavior.

BREAKING CHANGE scale modifier now accept 2 parameters (X and Y). If you need scaling on Z-axis, you can use scaleZ.

##0.1.3

Switched to Angular 4.

##0.1.2

Adding event listeners directly, not through EventManager. DDC friendly.

##0.1.1

Angular 2.

0.0.15

  • Added support of additional parameters in URL hash (Appended by &). Could be used by other plugins, like remote controller.

0.0.14

  • Tracking symbols by default. Symbols can be not auto-centralized by setting fixed=true on symbol.

0.0.12

  • Aded "track" property to track symbol's width/height.

0.0.11

  • Aded inline syntax. Added opacity function.

0.0.10

  • Aded delay functions. Removed relative modifier for move. Added documentation for functions.

0.0.9

  • Added shortened relative modifiers (up, down, left, right) and tests

0.0.8

  • Added DACSSlie extension to SCSS syntax

0.0.7

  • Added CSSLib transform so now it is possible to use nested CSS rules and other features provided by CSSLib

Use this package as a library

1. Depend on it

Add this to your package's pubspec.yaml file:


dependencies:
  dacsslide: ^0.2.1

2. Install it

You can install packages from the command line:

with pub:


$ pub get

Alternatively, your editor might support pub get. Check the docs for your editor to learn more.

3. Import it

Now in your Dart code, you can use:


import 'package:dacsslide/presentation_component.dart';
import 'package:dacsslide/sample_directive.dart';
import 'package:dacsslide/scss_transformer.dart';
import 'package:dacsslide/transformer.dart';
  
Version Uploaded Documentation Archive
0.2.1 Oct 16, 2017 Go to the documentation of dacsslide 0.2.1 Download dacsslide 0.2.1 archive
0.2.0 Oct 12, 2017 Go to the documentation of dacsslide 0.2.0 Download dacsslide 0.2.0 archive
0.1.3 Oct 3, 2017 Go to the documentation of dacsslide 0.1.3 Download dacsslide 0.1.3 archive
0.1.2 Jun 30, 2017 Go to the documentation of dacsslide 0.1.2 Download dacsslide 0.1.2 archive
0.1.1 Jun 30, 2017 Go to the documentation of dacsslide 0.1.1 Download dacsslide 0.1.1 archive
0.1.0 Nov 9, 2016 Go to the documentation of dacsslide 0.1.0 Download dacsslide 0.1.0 archive
0.0.15+2 Feb 2, 2016 Go to the documentation of dacsslide 0.0.15+2 Download dacsslide 0.0.15+2 archive
0.0.15+1 Feb 2, 2016 Go to the documentation of dacsslide 0.0.15+1 Download dacsslide 0.0.15+1 archive
0.0.15 Feb 2, 2016 Go to the documentation of dacsslide 0.0.15 Download dacsslide 0.0.15 archive
0.0.14 Feb 2, 2016 Go to the documentation of dacsslide 0.0.14 Download dacsslide 0.0.14 archive

All 26 versions...

Popularity:
Describes how popular the package is relative to other packages. [more]
0
Health:
Code health derived from static analysis. [more]
99
Maintenance:
Reflects how tidy and up-to-date the package is. [more]
80
Overall:
Weighted score of the above. [more]
46
Learn more about scoring.

We analyzed this package on Aug 10, 2018, and provided a score, details, and suggestions below. Analysis was completed with status tool failures using:

  • Dart: 2.0.0
  • pana: 0.11.8

Platforms

Detected platforms: unsure

Error(s) prevent platform classification:

Fix dependencies in pubspec.yaml.

Issues and suggestions

Fix dependencies in pubspec.yaml.

Running pub upgrade failed with the following output:

ERR: The current Dart SDK version is 2.0.0.
 
 Because dacsslide depends on dart_to_js_script_rewriter >=0.0.1+1 which requires SDK version <2.0.0, version solving failed.

Fix platform conflicts.

Error(s) prevent platform classification:

Fix dependencies in pubspec.yaml.

The description is too short.

Add more detail about the package, what it does and what is its target use case. Try to write at least 60 characters.

Package is pre-v1 release.

While there is nothing inherently wrong with versions of 0.*.*, it usually means that the author is still experimenting with the general direction of the API.

Maintain an example.

Create a short demo in the example/ directory to show how to use this package. Common file name patterns include: main.dart, example.dart or you could also use dacsslide.dart.

Format lib/presentation_component.dart.

Run dartfmt to format lib/presentation_component.dart.

Format lib/sample_directive.dart.

Run dartfmt to format lib/sample_directive.dart.

Format lib/scss_transformer.dart.

Run dartfmt to format lib/scss_transformer.dart.

Format lib/transformer.dart.

Run dartfmt to format lib/transformer.dart.

Dependencies

Package Constraint Resolved Available
Direct dependencies
Dart SDK >=1.13.0 <=2.0.0