title method

ElementBuilder title(
  1. String value
)

Sets the element's title (tooltip text).

Example:

Button().title('Click to submit')('Submit')

Implementation

ElementBuilder title(String value) {
  attr('title', StringAttribute(value));
  return this;
}