Skip to content
This repository has been archived by the owner on Jan 4, 2018. It is now read-only.
/ types Public archive

[DEPRECATED] - Alternate binding types (e.g. attribute / classname) for SkateJS.

License

Notifications You must be signed in to change notification settings

skatejs/types

Repository files navigation

[DEPRECATED] Binding types for SkateJS

PLEASE NOTE: Custom types have been deprecated and will not work in Skate 1.x+. They will continue to work in 0.x releases.

This repository contains binding types for SkateJS components. Included types are:

attribute

A binding for using attribute names to identify a component.

<div attribute-name></div>
skate('attribute-name', {
  type: skateTypes.attribute
});

Attributes are a great way to mix in functionality but lack the explicitness of tag names so only use them when you can't use tag names.

classname

A binding for using class names to identify a component.

<div class="class-name"></div>
skate('class-name', {
  type: skateTypes.classname
});

Class names are the least preferred method of binding behaviour to an element because classes are for styling, not behaviour. However, if you can't use tags or attributes for whatever reason, then this binding will allow you to use a class name.

About

[DEPRECATED] - Alternate binding types (e.g. attribute / classname) for SkateJS.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 3

  •  
  •  
  •