timothycrosley / thedom Goto Github PK
View Code? Open in Web Editor NEWA python framework to generate html and JavaScript from reusable and combine-able widgets.
License: GNU General Public License v2.0
A python framework to generate html and JavaScript from reusable and combine-able widgets.
License: GNU General Public License v2.0
Button.Link should contain all the properties associated with a native DOM a element but it is currently not accepting the "rel" property.
example:
<tr>
<td name="1" id="1">
...
</tr>
<tr>
<td name="1" id="1">
...
Ids must be unique across the whole document. I would suggest setting ids by concatenating a unique table id with unique tr ids with unique th/td ids. It would be also good to let the user to switch ids off.
DataViews.Table does not add and which leads to undesirable bahaviour in case of some javascript libraries (e.g. jquery.tablesorter).
On this page the example imports Document
but should import Document.Document
and page = Document()
should be page = Document.Document()
In [88]: page = WebElements.Document.Document()
In [89]: page.body.getChildElementWithId('a')
In [90]: page += WebElements.Display.Label()
AttributeError Traceback (most recent call last)
in ()
----> 1 page.body.getChildElementWithId('')
/home/ego/projects/evergreen/lib/python2.7/site-packages/WebElements/Base.pyc in getChildElementWithId(self, elementId)
921 if child.id == elementId:
922 return child
--> 923 nestedChild = child.getChildElementWithId(elementId)
924 if nestedChild:
925 return nestedChild
/home/ego/projects/evergreen/lib/python2.7/site-packages/WebElements/Base.pyc in getChildElementWithId(self, elementId)
919 childrenWithId = None
920 for child in self:
--> 921 if child.id == elementId:
922 return child
923 nestedChild = child.getChildElementWithId(elementId)
AttributeError: 'TextNode' object has no attribute 'id'
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.