lang method

  1. @override
Html lang(
  1. String value
)
override

Sets the language of the element's content.

Example:

Div().lang('es')  // Spanish
P().lang('en-US')  // English (US)

Implementation

@override
Html lang(String value) {
  attr('lang', StringAttribute(value));
  return this;
}