Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement <asset/> tag #34

Open
PixelsCommander opened this issue Mar 14, 2013 · 0 comments
Open

Implement <asset/> tag #34

PixelsCommander opened this issue Mar 14, 2013 · 0 comments

Comments

@PixelsCommander
Copy link
Owner

<asset/> tag accept "id" attribute with assetID, then determines URL of this asset in needed scale and then inserts it to page as tag. Also <asset/> tag have to forward all of it`s attributes to tag it produces, so <asset id='logo' width='100%'/> will produce <img src='./assets/2/logo.png' width='100%'/>

For image asset it will produce <img> tag.
For audio asset - <audio> tag.
For animation asset - <img> animated with css animation technique.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant