File "GlobalTextFieldAttributes.php"
Full Path: /home/u886502366/domains/almoasronppbags.com/public_html/newtest/wp-content/plugins/depicter/vendor/typerocket/core/src/Elements/Traits/GlobalTextFieldAttributes.php
File size: 471 bytes
MIME-type: text/x-php
Charset: utf-8
<?php
namespace TypeRocket\Elements\Traits;
trait GlobalTextFieldAttributes
{
/**
* Set Placeholder
*
* @param string $text
*
* @return $this
*/
public function setPlaceholder($text)
{
return $this->setAttribute('placeholder', $text);
}
/**
* Get Placeholder
*
* @return string
*/
public function getPlaceholder()
{
return (string) $this->getAttribute('placeholder');
}
}