whm/hypebundle

Symfony2 bundle for hyping/liking entities.

Installs: 22

Dependents: 0

Suggesters: 0

Security: 0

Stars: 1

Watchers: 2

Forks: 0

Open Issues: 0

Type:symfony-bundle

0.0.1 2015-09-23 09:15 UTC

This package is auto-updated.

Last update: 2024-11-29 05:09:03 UTC


README

The whmHypeBundle implements a facebook like like feature. You can hype any element using javascript functions and ajax requests.

Example

<div class="hype-count" data-hype-identifier="{{ item.id }}" data-hype-type="{{ item.type }}">
    &#9733;
</div>
<div class="hype-button" data-hype-identifier="{{ item.id }}" data-hype-type="{{ item.type }}">
    &#9733;
</div>
<div class="unhype-button" data-hype-identifier="{{ item.id }}" data-hype-type="{{ item.type }}">
    x
</div>