Sha256: 00f2dd0590e49e7fa3cefeed0e8161232980aa2f46a91040e6dd4841a47e2377
Contents?: true
Size: 356 Bytes
Versions: 6
Compression:
Stored size: 356 Bytes
Contents
class @AntsSlugInput constructor: (label="Slug") -> config = type: "string" name: "_slug" label: label placeholder: " " onInitialize: (input) -> if input.object && input.object._slugs.length defaultSlug = input.object._slugs[0] input.$input.attr "placeholder", defaultSlug return config
Version data entries
6 entries across 6 versions & 1 rubygems