Sha256: 76b9a330f724d4604e5879608833e3fa76ae4ac5c8ad1864a0c8d31412580eae
Contents?: true
Size: 755 Bytes
Versions: 4
Compression:
Stored size: 755 Bytes
Contents
###* Markers ======= TODO: Write some documentation @class up.marker ### up.marker = (-> hasContent = ($marker) -> $marker.html().trim() != '' check = ($element) -> up.util.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
4 entries across 4 versions & 1 rubygems