dacsslide 0.2.1

  • README.md
  • CHANGELOG.md
  • Installing
  • Versions
  • 73

DaCSSlide Build Status

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

Examples

  • Starter kit: http://olostan.github.io/dacsslide_starter/ (source code: https://github.com/olostan/dacsslide_starter )
  • From web folder of this repository: http://olostan.github.io/dacsslide/dacsslide.html

Advanced usage:

  • http://olostan.github.io/dacsslide_video/
  • http://olostan.github.io/slides_twinui2/
  • http://slides.olostan.name/dartFlight/dartflightslides.html

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

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

with Flutter:


$ flutter packages get

Alternatively, your editor might support pub get or packages 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 24 versions...

Analysis

This feature is new.
We welcome feedback.

We analyzed this package, and provided a score, details, and suggestions below.

  • completed on Dec 6, 2017
  • Dart: 2.0.0-dev.8.0
  • pana: 0.7.3+1

Scores

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

Platforms

Detected platforms: Flutter, server, web

all of the above

Dependencies

Package Constraint Resolved Available
Direct dependencies
angular ^4.0.0 4.0.0 5.0.0-alpha+1
barback >0.10.0 <1.0.0 0.15.2+13
browser ^0.10.0 0.10.0+2
csslib_transform >=0.0.1 <0.1.0 0.0.4+1
dart_to_js_script_rewriter ^1.0.2 1.0.3
http >0.10.0 <1.0.0 0.11.3+16
test >0.12.0 <1.0.0 0.12.29
Transitive dependencies
analyzer 0.30.0+4 0.31.0-alpha.2
angular_compiler 0.3.0 0.4.0-alpha+1
args 1.2.0
async 1.13.3 2.0.1
boolean_selector 1.0.2
build 0.10.2+1 0.11.1
build_barback 0.4.0+1 0.4.0+2
charcode 1.1.1
cli_util 0.1.2+1
code_builder 1.0.4 2.3.0
code_transformers 0.5.1+3
collection 1.14.3
convert 2.0.1
crypto 2.0.2+1
csslib 0.14.1
dart_style 1.0.8
front_end 0.1.0-alpha.4.1 0.1.0-alpha.7
func 1.0.0
glob 1.1.5
html 0.13.2
http_multi_server 2.0.4
http_parser 3.1.1
intl 0.15.2
io 0.3.1
isolate 1.1.0
js 0.6.1
kernel 0.3.0-alpha.1.1 0.3.0-alpha.4
logging 0.11.3+1
matcher 0.12.1+4
meta 1.1.2
mime 0.9.4
multi_server_socket 1.0.0
node_preamble 1.4.0
package_config 1.0.3
package_resolver 1.0.2
path 1.5.1
plugin 0.2.0+2
pool 1.3.3
pub_semver 1.3.2
quiver 0.25.0 0.26.2
quiver_hashcode 1.0.0
shelf 0.7.1
shelf_packages_handler 1.0.3
shelf_static 0.2.6
shelf_web_socket 0.2.2
source_gen 0.7.2+1
source_map_stack_trace 1.1.4
source_maps 0.10.4
source_span 1.4.0
stack_trace 1.9.1
stream_channel 1.6.2
string_scanner 1.0.2
term_glyph 1.0.0
tuple 1.0.1
typed_data 1.1.5
utf 0.9.0+3
watcher 0.9.7+4
web_socket_channel 1.0.6
yaml 2.1.13