How to Add in Less Meta Informations for a Mixin Class? (phpStorm) -
is possible in less setup mixin informations can read phpstorm?
i write mixin this:
.action-btn(@size: 32px, @color: #fff, @bgcolor: @overlaystyleblack, @bgcolorhover: @red) { { width: @size; display: block; color: @color; text-align: center; line-height: @size; background-color: @bgcolor; &:hover { cursor: pointer; background-color: @bgcolorhover; } } }
what want is, when use mixin in less file: ".action-btn();" want see have in mixin 4 settings can setup. in php classes can with:
/** * @param string $xxx * function check , change user is_online flag in sphinx , in mysql */
but dont work in less mixin file.
and how can skip settings? here example explain mean. (this ry dont worked)
.action-btn(64px, , , #fff);
Comments
Post a Comment