class Playbook::PbTextarea::Textarea

def character_counter

def character_counter
  max_characters && character_count ? "#{character_count} / #{max_characters}" : character_count
end

def classname

def classname
  generate_classname("pb_textarea_kit") + error_class + resize_class + inline_class
end

def error_class

def error_class
  error ? " error" : ""
end

def inline_class

def inline_class
  inline ? " inline" : ""
end

def resize_class

def resize_class
  " resize_#{resize}"
end