tiel 0.0.2 copy "tiel: ^0.0.2" to clipboard
tiel: ^0.0.2 copied to clipboard

Dart 1 only

jQuery-style helper for manipulating Titanium Views

tiel #

jQuery-style helper for manipulating Titanium Views. Only works on Dart Titanium applications

Usage #

import 'package:tiel/el.dart';

void main() {
  el('window')
    .attr('backgroundColor', 'white')
    .append(
      el('label')
        .attr('text', 'Hello World !')
    )
    .open();
}

Create element #

el('button');

Append child #

Element button = el('button');
el('view').append(button);

Set/Get attribute #

Element button = el('button');
button.attr('color', 'blue');
print(button.attr('color'))
0
likes
25
points
9
downloads

Publisher

unverified uploader

Weekly Downloads

jQuery-style helper for manipulating Titanium Views

Repository (GitHub)
View/report issues

License

BSD-2-Clause (license)

More

Packages that depend on tiel