Coder Social home page Coder Social logo

modularjs's People

Contributors

dominiclord avatar hum-n avatar jerek0 avatar pistil-studio avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

modularjs's Issues

FR: Support typescript

Just a quick shot: any chances or plans to ship modujs with additional typescript support?

Module query selector return NodeList

Hi, recently I was testing the Locomotive Boilerplate and I found out this tiny amazing framework. Really great job.

I am facing an issue with the module query selector. In the modal example this.$('accept').style.display = 'none'; is giving an error since this.$('accept') returns a NodeList.

I can make this work by using this.$('accept')[0].style.display = 'none'; or by "looping" the NodeList.

Is there any solution that I can directly select an element in the module scope?

Toggle visibility on scroll

Hello!

I am trying to figure out how to use the modules effectively. There's one feature on this website that's puzzling me: http://boyntonyards.com/

The Expolre Somerville button is fixed on the screen. It hides when I scroll down, closer to the footer. I wanted to see how this was done because it would be nice to have control over any element if needed. In chrome's insepctor sources panel I was searching for StickyCtaToggler and there's almost nothing in the hide() function. I don't even see where the hide function was called. The "enter" that's in the hide function - where does it come from? I assume the setInView function dispatches dispatchCall and sticks the enter value somehow but I can't figure out how to use calls to create a similar trigger animation. I was hoping I could do this elegantly but I ran out of ideas.

Thanks

Support for the experimental syntax 'moduleBlocks' isn't currently enabled

I've been using modularjs for a while now but I'm starting to get the error as per the title but can't seem to find a solution online. it happens when using the following code:

  1 | import { module } from 'modujs';
  2 |
> 3 | export default class extends module {
    |                              ^
  4 |     constructor(m) {
  5 |         super(m);
  6 |

I'm using Laravel-mix 6.0.6 for front end development and compiling. I have rolled this back to 5 where it has previously been okay but still received the above error.

I was wondering if someone could help or point me in the right direction.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.