Questions tagged [dart-webui]

Web UI lets you build web apps as if you had a browser from the future. You can use the cool new web technologies like Web Components, Model Driven Views and Dart today.

Web UI is currently deprecated, and they recommend using Polymer.dart instead.

Web UI lets you build web apps as if you had a browser from the future. You can use the cool new web technologies like Web Components, Model Driven Views and Dart today. Build apps easily using HTML as your template language, express your application's components in HTML, and synchronize your data automatically between Dart and your components.

252 questions
0
votes
1 answer

How to move WebComponent to folder and use it then?

I am trying to make pretty simple things work for me in Dart. I created web-ui application from template and want to move xclick-counter web component out from root folder. Here how my project looks like in the Dart Editor: NewComposite (folder) …
0
votes
2 answers

Bind button to observable in Polymer

Using polymer in Dart I want to observe a value and bind a button to a function that changes it. The following sample code (test.dart) should clarify what I am trying to do import 'dart:html'; import 'package:polymer/polymer.dart'; import…
Lars Tackmann
  • 20,275
  • 13
  • 66
  • 83
0
votes
1 answer

Dart bind JsonObject error: type 'List' is not a subtype of type 'JsonObject' of 'value'

I have a main GLTkComponent ============= xgltk.dart GLTkComponent.dart ================================== @observable class GLTkComponent extends WebComponent { ObservableList ListTk = toObservable(new…
Tuan Hoang Anh
  • 994
  • 12
  • 31
0
votes
2 answers

how to deploy your dart app (using Web ui) without using Pub Deploy

What is the best strategy to deploy a Dart Web-ui app manually ? pub deploy doesn't work for me and I have raised bug report. So am thinking what is the best way to manually deploy. This is how I started: 1) From project root I compile the webui…
Softinio
  • 638
  • 1
  • 6
  • 19
0
votes
1 answer

Handling clickevents from webcomponents inside of other webcomponents

I have used Dart WebUI to create a component that contains another component like this. The desired respons to clicking I had was that when I click on the inner component it fires inside of that inner component and does not affect the component…
MrMambo007
  • 133
  • 1
  • 7
0
votes
1 answer

Keeping css attributes in an iterated dart template

I'm working on a Dart project where the user is able to add new custom elements at the click of a button. Each custom element is a div containing a table. The divs are resizeable by the user. My problem is that after a new element is added to the…
0
votes
1 answer

How to make web_ui compile css files automatically

I'm using web_ui and whenever I change a CSS file in web/css/ it will not be compiled unless I change the web/index.html file. I guess that's because only the file 'web/index.html' is listed as entry point in build.dart. But adding the stylesheet to…
enyo
  • 16,269
  • 9
  • 56
  • 73
0
votes
2 answers

How to initialize html attributes only when instantiating a web component

Suppose you have a custom component container. This component will look at any html elements inside it and make desicions based on custom html attributes of those elements. For example, suppose there is a proportion attribute that could be used as…
user1338952
  • 3,233
  • 2
  • 27
  • 41
0
votes
2 answers

Inject html in web component

My dart web component : works fine with simple text, but something, I want to display rich content. So content could contains html, like
0
votes
1 answer

Is there a way to disable the CSS preprocessor in dart web_ui?

I'm generating my CSS with twitter bootstrap, and want to simply use that CSS. When the dart CSS preprocessor goes over the already process .less files, it breaks some of the definitions. Initially I just put the .css file in the out/css/ folder and…
enyo
  • 16,269
  • 9
  • 56
  • 73
0
votes
0 answers

why am I getting empty