Code Monkey home page Code Monkey logo

alloy.widget.iconicfont's People

Contributors

iantearle avatar k0sukey avatar

Stargazers

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

Watchers

 avatar  avatar  avatar  avatar  avatar

alloy.widget.iconicfont's Issues

addEventListener doesn't work.

<Widget class="icon" id="test" icon="icon-facebook" src="be.k0suke.fontawesome" />

$.test.addEventListener('click',function(){alert('test');});

However, the fireEvent works just fine

$.test.fireEvent('test');

Secondary issue is that you can't use the selectedColor property (so you can get an icon to sort of act like a button.

Third issue is that inserting the widget inside a button like

<Button>
  <Widget />
</Button>

creates a top padding above the widget.

Strange error

I can include the widget via JS, but for some reason not XML, I am getting the following error, have you have seen this before?

[INFO]    created:    "Resources/alloy/widgets/be.k0suke.ssforecast/controllers/widget.js"
[DEBUG]   map:        "build/map/Resources/alloy/widgets/be.k0suke.ssforecast/controllers/widget.js.map"
[INFO]  [index.xml] view processing...
[INFO]    style:      "index.tss"
[INFO]    view:       "index.xml"
[INFO]    controller: "index.js"
[TRACE] - Processing "builtins" module...
[TRACE] - Processing "optimizer" module...
[TRACE] - Processing "compress" module...
[INFO]    created:    "Resources/alloy/controllers/index.js"
[DEBUG]   map:        "build/map/Resources/alloy/controllers/index.js.map"
[INFO]  [weather.xml] view processing...
[INFO]    style:      "weather.tss"
[INFO]    view:       "weather.xml"
[ERROR] [ERROR] widget "be.k0suke.ssforecast" view "widget" does not exist.
[ERROR] [ERROR] The following paths were inspected:
[ERROR] [ERROR] /Users/iantearle/Titanium/SomethingBlew/app/widgets/be.k0suke.ssforecast/views/ios/widget
[ERROR] [ERROR] /Users/iantearle/Titanium/SomethingBlew/app/widgets/be.k0suke.ssforecast/views/widget
[ERROR] [ERROR] /usr/local/lib/node_modules/alloy/widgets/be.k0suke.ssforecast/views/ios/widget
[ERROR] [ERROR] /usr/local/lib/node_modules/alloy/widgets/be.k0suke.ssforecast/views/widget
[ERROR] Alloy compiler failed

I'm wondering if the latest alloy has changed something?

Blank Box showing for icon?

image

Using the XML

<Widget class="icon" icon="icon-github" src="be.k0suke.fontawesome"/>

Any ideas where to start?

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.