Skip to content
This repository has been archived by the owner. It is now read-only.
Switch branches/tags
Go to file
Cannot retrieve contributors at this time
library my_element;
import 'package:web_components/web_components.dart' show HtmlImport;
import 'package:polymer/polymer.dart';
class MyElement extends PolymerElement {
MyElement.created() : super.created();
@property String firstName = 'Seth';
@property String lastName = 'Ladd';
@Property(computed: 'computeFullName(firstName,lastName)')
String fullName = '';
String computeFullName(String firstName, String lastName) =>
'$firstName $lastName';