Comments (7)
If you can use jQuery, then you can use Samsara. There's nothing special about it. Maybe you can drag in the CommonJS version you can find in the dist
directory instead of the AMD files in the Samsara
directory.
from samsara.
Meteor supports NPM and ES6 modules now. Just import Samsara from 'samsarajs'
after you've installed it from NPM.
Then use it as described in the Samsara docs.You'll have to get familiar with Tracker.autorun
if you want to make things reactive imperatively (using JavaScript, no HTML).
If you want to render Blaze templates in Samsara Surfaces, you can do that: just look at the Blaze.render or Blaze.renderWithData methods, where the parentNode
argument will be a Samsara Surace's element that you want to render into.
from samsara.
I imagine you're thinking more along the lines of rendering templates from a meteor point of view. I'm sure this is doable, but haven't tried. You'll need to just call setContent
on your Samsara surfaces when their data changes.
from samsara.
If I drag samsara files to my project folder, there is a error. I think I can't use it in meteor. Thanks for reply David.
from samsara.
@ozergul ^
from samsara.
thanks @trusktr!
from samsara.
@dmvaldman anytime! :}
from samsara.
Related Issues (20)
- Not responsive to split view on iOS HOT 4
- [Question] Min & Max Opacity HOT 8
- EventEmitter incorrectly binds owner on `once`
- EventHandler never turns off upstream events HOT 1
- [Question] will-change size HOT 2
- [Question] How to populate the div within a Surface using Javascript HOT 8
- React Native HOT 3
- Manipulating StyleSheets instead of inline styles HOT 4
- Views added to context after context has been mounted need a resize event to be render HOT 2
- Question : Can Samsara leverage the capabilities of shadow-dom ?? HOT 1
- FYI - FastDom HOT 1
- SequentialLayout can't be align to bottom HOT 7
- Scrollview.goTo(x) goes bananas on iOS HOT 6
- Paginated Scrollview can't handle resize/orientation change HOT 1
- Scrollview bug IE11
- set/toggle/remove classes bug
- Awesome work HOT 2
- Non-nested CSS3D seems to be getting bad in Chrome. HOT 5
- Is Samsara viable when implementing animations designed in Framer? HOT 1
- misalignment with Cube demo HOT 3
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 samsara.