
Security News
Deno 2.2 Improves Dependency Management and Expands Node.js Compatibility
Deno 2.2 enhances Node.js compatibility, improves dependency management, adds OpenTelemetry support, and expands linting and task automation for developers.
= YeqsSexybuttons
This project rocks and uses MIT-LICENSE.
== Installation
Install yeqs_sexybuttons as a gem and get it work with your rails 3 applications.
gem install yeqs_sexybuttons
Add yeqs_sexybuttons to your Gemfile.
gem 'yeqs_sexybuttons'
Generate the assets of yeqs_sexybuttons.
rails g yeqs:sexybuttons
== Usage
Yeqs Sexybuttons provide a view helper to generate a sexybutton. First of all, your need to add a sexybuttons css to your layout.
<%= include_sexybuttons %>
this will produce html like:
Generate a linkage.
<%= sexybutton('Google', 'http://www.google.com') do |b| b.color = 'orange' # default is black b.image = 'google' # optional end %>
this will produce html like:
Generate a submit button.
<%= sexybutton('Simple Button') do |b| b.id = 'sbtn-id' b.style = 'custom' b.type = 'submit' b.color = 'orange' b.image = 'ok' b.html_options = { :rel => 'sbtn' } end %>
this will produce html like:
Simple Button
FAQs
Unknown package
We found that yeqs_sexybuttons demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Deno 2.2 enhances Node.js compatibility, improves dependency management, adds OpenTelemetry support, and expands linting and task automation for developers.
Security News
React's CRA deprecation announcement sparked community criticism over framework recommendations, leading to quick updates acknowledging build tools like Vite as valid alternatives.
Security News
Ransomware payment rates hit an all-time low in 2024 as law enforcement crackdowns, stronger defenses, and shifting policies make attacks riskier and less profitable.