Comments (1)
This could work by creating a web component named by the id of each "component" on the sketchpad.
<top-menu id="top-menu" class="top-menu">...</top-menu>
The webcomponent
<dom-module id="top-menu">
<style>
/* CSS rules for your element */
</style>
<template>
<!-- local DOM for your element -->
<div>{{greeting}}</div> <!-- data bindings in local DOM -->
</template>
<script>
// element registration
Polymer({
is: "nav",
// add properties and methods on the element's prototype
properties: {
// declare properties for the element's public API
// could we hook into real/live (or fake) data here ;)
greeting: {
type: String,
value: "Hello!"
}
}
});
</script>
</dom-module>
We should eventually build up a repo of reusable webcomponents so we don't reexport the same each time but reuse common/consistent ones built by the community.
from blade.
Related Issues (20)
- Idea: Responsive demos with multiple artboards and media-queries
- No html generated HOT 5
- Didn't work in Sketch 3.3 HOT 14
- Special Characters HOT 2
- can you help us with more code HOT 1
- What do you think about Protein? HOT 1
- no HTML HOT 4
- Deprecation warning
- 怎么用的?为什么没有用法?怎么安装
- Will delete the folder that has the same name as your sketch file
- Pleaseee Revive Blade for the New Version of Sketch (43) HOT 19
- How to install the plugin in Sketch? HOT 1
- Can't export example, error context.api!
- Where does the file export to?
- Blade crashes Sketch on export. HOT 1
- If an image is wrapped by a link [btn], the image does not export. HOT 1
- Blade not running on Sketch3
- Exports whole artboard as image (Sketch 3.1 AppStore) HOT 1
- Can you share a link for output file?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from blade.