Sha256: 1e5fddd1be5eef1ed16d22977bb73cf3c4c86e519b6e1bd221db9bb4f903c3f0
Contents?: true
Size: 767 Bytes
Versions: 8
Compression:
Stored size: 767 Bytes
Contents
###* Markers ======= TODO: Write some documentation @class up.marker ### up.marker = (-> u = up.util hasContent = ($marker) -> u.trim($marker.html()) != '' check = ($element) -> u.findWithSelf($element, '[up-marker]').each -> $marker = $(this) unless hasContent($marker) $marker.hide() ###* Use this attribute to mark up empty element containers that you plan to update with content in the future. An element with this attribute is automatically hidden if it has no content, and is re-shown if it is updated with content. This is useful to prevent the element from applying unwanted margins to the surrounding page flow. @method [up-marker] @ujs ### up.bus.on 'fragment:ready', check )()
Version data entries
8 entries across 8 versions & 1 rubygems