Skip to content

Commit

Permalink
Merge pull request #80 from fsw/master
Browse files Browse the repository at this point in the history
Add "target" getter and setter to AreaElement
  • Loading branch information
terrier989 authored Sep 7, 2023
2 parents 95ec899 + 118093e commit 3c12b51
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions lib/src/html/dom/element_subclasses.dart
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,12 @@ class AreaElement extends HtmlElement
set rel(String value) {
_setAttribute('rel', value);
}

String? get target => _getAttribute('target');

set target(String? value) {
_setAttribute('target', value);
}

@override
Element _newInstance(Document ownerDocument) => AreaElement._(ownerDocument);
Expand Down

0 comments on commit 3c12b51

Please sign in to comment.