whm/hypebundle

Symfony2 bundle for hyping/liking entities.

Installs: 20

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-10-29 04:52:56 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>