title method

T title(
  1. String value
)

Sets the element's title (tooltip text).

Example:

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

Implementation

T title(String value) {
  attr('title', StringAttribute(value));
  return self;
}