tags 0.1.4
tags: ^0.1.4 copied to clipboard
Build html elements by tag name.
Tags Changes #
0.1.4 #
- Renamed
DropDowntoToggleOpento more accurately reflect what it does; it can open as a drop-down but it could be styled to open up instead for example. - More work on
ToggleOpenincluding dartdoc. - Renamed the
downandupgetters onToggleButtontoisDownandisUp.
0.1.3 #
- Updated to SDK 0.5.20.2_r24160.
- Prefix all library names with
tags; for exampletags.html.
0.1.2 #
- Added the function
appendin thehtmllibrary; this provides a means to append existing elements in a tag builder expression. - Expose the
bindfunction in thecustomlibrary; this is a convenience function for implementors of custom tags.
0.1.1 #
- Updated to SDK 0.5.13_r23552.
- Added
<nav>tag. - Added an optional
argsto eachTag. In thehtmllibrary these are ignored. In thecustomlibrary we have defined aBindfunction type which we take as theargsfor our custom tags. This gives us a mechanism to deliver the instance ofHasElementback to the user as a workaround for thextagissue noted in the prior version. - Added an experimental
DropDowncustom tag; this is a work in progress.
0.1.0 #
- Updated to SDK 0.5.9_r22879.
- ToggleButton can no longer store itself in the
xtagof itselementas the type constraint forxtagwas tightened toElementin this SDK version. We need to wait for the ability to extendElementand for the custom element work indart:htmlto settle down before we can make any design changes here, so for now there is no way to backtrack from theelementto its ToggleButton.
0.0.9 #
- Updated to SDK 0.5.7_r22611.
- Avoid streaming ToggleButton
statesevents unless there is a listener and the stream is not paused. This avoids potential memory leaks that might arise with buffered events.
0.0.8 #
- Updated to SDK 0.5.5_r22416.
0.0.7 #
- Updated to SDK 0.4.7_r21548.
0.0.6 #
- Export
dart:htmllibrary fromhtml.dartso that users have only 1 import. - Added
custom.dartlibrary and a ToggleButton to the showcase example. Thecustom.dartlibrary aims to provide a canonical set of custom elements (web components). - The
buildfuncton in thebuilder.dartlibrary now takes aCreatefunction to build the tag's element. This allows us to differentiate between a builder function called within the scope of aCreate(constructor / initializer of an Element) and the scope of aBuild(child appending logic).
0.0.5 #
- Removed
tags.dartlibrary; users should importhtml.dartdirectly. - Added
builder.dartlibrary to expose tag builder functionality; This library may be used for user-defined custom tags.
0.0.4 #
- Added
<i>,<u>,<dl>,<dt>, and<dd>tags. - Added
Buildtypedef and some documentation to the API. - Added
documentationto pubspec.
0.0.3 #
- Added
<b>tag. - Added
text(String)builder function to performElement.appendText(String)from withinbuild()closures.
0.0.2 #
- Added basic usage to the README.
0.0.1 #
- Initial release.